"to" field isn't strictly required for emoji reactions

main
Bob Mottram 2022-03-04 15:54:40 +00:00
parent 2e13ca7143
commit f98273cb78
1 changed files with 0 additions and 4 deletions

View File

@ -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"')