merge-requests/10/merge
Bob Mottram 2021-01-30 12:48:08 +00:00
parent 5c5b715bbe
commit 9950f42c86
1 changed files with 1 additions and 4 deletions

View File

@ -3915,10 +3915,7 @@ def downloadAnnounce(session, baseDir: str, httpPrefix: str,
if '/statuses/' not in announcedJson['id']:
_rejectAnnounce(announceFilename)
return None
if '/users/' not in announcedJson['id'] and \
'/accounts/' not in announcedJson['id'] and \
'/channel/' not in announcedJson['id'] and \
'/profile/' not in announcedJson['id']:
if not hasUsersPath(announcedJson['id']):
_rejectAnnounce(announceFilename)
return None
if not announcedJson.get('type'):