Reference to announced id

main2
Bob Mottram 2019-10-21 11:14:36 +01:00
parent 54cac45766
commit 12cabfab26
1 changed files with 1 additions and 1 deletions

View File

@ -1143,7 +1143,7 @@ def receiveUndoAnnounce(session,handle: str,isGroup: bool,baseDir: str, \
if not os.path.isdir(baseDir+'/accounts/'+handle): if not os.path.isdir(baseDir+'/accounts/'+handle):
print('DEBUG: unknown recipient of undo announce - '+handle) print('DEBUG: unknown recipient of undo announce - '+handle)
# if this post in the outbox of the person? # if this post in the outbox of the person?
postFilename=locatePost(baseDir,handle.split('@')[0],handle.split('@')[1],messageJson['object']) postFilename=locatePost(baseDir,handle.split('@')[0],handle.split('@')[1],messageJson['object']['object'])
if not postFilename: if not postFilename:
if debug: if debug:
print('DEBUG: undo announce post not found in inbox or outbox') print('DEBUG: undo announce post not found in inbox or outbox')