Merge branch 'fix-emoji-update' into 'master'

XEP-0444: Fix emoji detection

See merge request poezio/slixmpp!103
This commit is contained in:
mathieui
2021-01-24 11:33:57 +01:00

View File

@@ -10,6 +10,8 @@ from typing import Set, Iterable
from slixmpp.xmlstream import ElementBase
try:
from emoji import UNICODE_EMOJI
if UNICODE_EMOJI.get('en'):
UNICODE_EMOJI = UNICODE_EMOJI['en']
except ImportError:
UNICODE_EMOJI = None