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
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue