When receiving an invalid unfollow always remove item from queue

merge-requests/30/head
Bob Mottram 2023-03-23 11:54:49 +00:00
parent e59e410ff9
commit f1b85d9936
1 changed files with 3 additions and 2 deletions

View File

@ -1061,8 +1061,9 @@ def _receive_undo(base_dir: str, message_json: {}, debug: bool,
return False
if message_json['object']['type'] == 'Follow' or \
message_json['object']['type'] == 'Join':
return _receive_undo_follow(base_dir, message_json,
debug, domain, onion_domain, i2p_domain)
_receive_undo_follow(base_dir, message_json,
debug, domain, onion_domain, i2p_domain)
return True
return False