mirror of https://gitlab.com/bashrc2/epicyon
Reference to announced id
parent
54cac45766
commit
12cabfab26
2
inbox.py
2
inbox.py
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue