Merge branch 'fix-emoji-update' into 'master'
XEP-0444: Fix emoji detection See merge request poezio/slixmpp!103
This commit is contained in:
commit
4cb679ae2a
@ -10,6 +10,8 @@ from typing import Set, Iterable
|
|||||||
from slixmpp.xmlstream import ElementBase
|
from slixmpp.xmlstream import ElementBase
|
||||||
try:
|
try:
|
||||||
from emoji import UNICODE_EMOJI
|
from emoji import UNICODE_EMOJI
|
||||||
|
if UNICODE_EMOJI.get('en'):
|
||||||
|
UNICODE_EMOJI = UNICODE_EMOJI['en']
|
||||||
except ImportError:
|
except ImportError:
|
||||||
UNICODE_EMOJI = None
|
UNICODE_EMOJI = None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user