mirror of https://gitlab.com/bashrc2/epicyon
Fix receive of move activity
parent
3f81256a06
commit
07cf4e70b3
7
inbox.py
7
inbox.py
|
@ -1724,7 +1724,12 @@ def _receive_move_activity(session, base_dir: str,
|
|||
if debug:
|
||||
print('INBOX: Move activity has no actor: ' + str(message_json))
|
||||
return False
|
||||
if not has_object_string_type(message_json, debug):
|
||||
if not message_json.get('object'):
|
||||
if debug:
|
||||
print('INBOX: Move activity object not found: ' +
|
||||
str(message_json))
|
||||
return False
|
||||
if not isinstance(message_json['object'], str):
|
||||
if debug:
|
||||
print('INBOX: Move activity object is not a string: ' +
|
||||
str(message_json))
|
||||
|
|
Loading…
Reference in New Issue