PLT-2816 Fixed handling of Unicode 8 emojis (#2924)
* Updated twemoji to properly recognize Unicode 8.0 emojis * Updated unicode emoji parser to only render emojis we support as images * Corrected filename for South African flag emoji * Added Mattermost emoticons! * Added additional emoticons to test files
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
e8b3e0a7bc
Коммит
761f59645d
@@ -55,7 +55,7 @@ export default class EmoticonProvider {
|
||||
|
||||
const matched = [];
|
||||
|
||||
for (const [name, emoticon] of Emoticons.emoticons) {
|
||||
for (const [name, emoticon] of Emoticons.getEmoticonsByName()) {
|
||||
if (name.indexOf(partialName) !== -1) {
|
||||
matched.push(emoticon);
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user