Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
3d28c958d3 | ||
|
6b68916d74 |
@@ -1,5 +1,5 @@
|
|||||||
[bumpversion]
|
[bumpversion]
|
||||||
current_version = 1.8.1
|
current_version = 1.8.2
|
||||||
commit = True
|
commit = True
|
||||||
tag = True
|
tag = True
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@ from ._client import Client
|
|||||||
from ._util import log # TODO: Remove this (from examples too)
|
from ._util import log # TODO: Remove this (from examples too)
|
||||||
|
|
||||||
__title__ = "fbchat"
|
__title__ = "fbchat"
|
||||||
__version__ = "1.8.1"
|
__version__ = "1.8.2"
|
||||||
__description__ = "Facebook Chat (Messenger) for Python"
|
__description__ = "Facebook Chat (Messenger) for Python"
|
||||||
|
|
||||||
__copyright__ = "Copyright 2015 - 2019 by Taehoon Kim"
|
__copyright__ = "Copyright 2015 - 2019 by Taehoon Kim"
|
||||||
|
@@ -26,7 +26,7 @@ class EmojiSize(Enum):
|
|||||||
"s": cls.SMALL,
|
"s": cls.SMALL,
|
||||||
}
|
}
|
||||||
for tag in tags or ():
|
for tag in tags or ():
|
||||||
data = tag.split(":", maxsplit=1)
|
data = tag.split(":", 1)
|
||||||
if len(data) > 1 and data[0] == "hot_emoji_size":
|
if len(data) > 1 and data[0] == "hot_emoji_size":
|
||||||
return string_to_emojisize.get(data[1])
|
return string_to_emojisize.get(data[1])
|
||||||
return None
|
return None
|
||||||
|
Reference in New Issue
Block a user