mirror of https://gitlab.com/bashrc2/epicyon
"to" field isn't strictly required for emoji reactions
parent
2e13ca7143
commit
f98273cb78
4
inbox.py
4
inbox.py
|
@ -1264,10 +1264,6 @@ def _receive_reaction(recent_posts_cache: {},
|
|||
return False
|
||||
if not has_object_string(message_json, debug):
|
||||
return False
|
||||
if not message_json.get('to'):
|
||||
if debug:
|
||||
print('DEBUG: ' + message_json['type'] + ' has no "to" list')
|
||||
return False
|
||||
if not message_json.get('content'):
|
||||
if debug:
|
||||
print('DEBUG: ' + message_json['type'] + ' has no "content"')
|
||||
|
|
Loading…
Reference in New Issue