From 12cabfab26be0c68342d57bafa1a7f9ac8aa9807 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 21 Oct 2019 11:14:36 +0100 Subject: [PATCH] Reference to announced id --- inbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inbox.py b/inbox.py index b70c42f22..0de66c89b 100644 --- a/inbox.py +++ b/inbox.py @@ -1143,7 +1143,7 @@ def receiveUndoAnnounce(session,handle: str,isGroup: bool,baseDir: str, \ if not os.path.isdir(baseDir+'/accounts/'+handle): print('DEBUG: unknown recipient of undo announce - '+handle) # 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 debug: print('DEBUG: undo announce post not found in inbox or outbox')