Abandon accusatory

main
Bob Mottram 2020-06-16 21:29:17 +01:00
parent 54735b6546
commit 12c7035d50
2 changed files with 2 additions and 2 deletions

View File

@ -2009,7 +2009,7 @@ def inboxAfterCapabilities(recentPostsCache: {}, maxRecentPosts: int,
print('DEBUG: Undo bookmark accepted from ' + actor) print('DEBUG: Undo bookmark accepted from ' + actor)
return False return False
labelAccusatoryPost(messageJson, translate) # labelAccusatoryPost(messageJson, translate)
if receiveAnnounce(recentPostsCache, if receiveAnnounce(recentPostsCache,
session, handle, isGroup, session, handle, isGroup,

View File

@ -3118,7 +3118,7 @@ def downloadAnnounce(session, baseDir: str, httpPrefix: str,
# pprint(announcedJson) # pprint(announcedJson)
return None return None
labelAccusatoryPost(postJsonObject, translate) # labelAccusatoryPost(postJsonObject, translate)
# set the id to the original status # set the id to the original status
announcedJson['id'] = postJsonObject['object'] announcedJson['id'] = postJsonObject['object']
announcedJson['object']['id'] = postJsonObject['object'] announcedJson['object']['id'] = postJsonObject['object']