forked from indymedia/epicyon
Extra debug
parent
98064881e4
commit
e1ba56bc3d
4
inbox.py
4
inbox.py
|
@ -975,9 +975,11 @@ def receiveAnnounce(session,handle: str,baseDir: str, \
|
||||||
print(messageJson['object'])
|
print(messageJson['object'])
|
||||||
return True
|
return True
|
||||||
updateAnnounceCollection(postFilename,messageJson['actor'],debug)
|
updateAnnounceCollection(postFilename,messageJson['actor'],debug)
|
||||||
|
if debug:
|
||||||
|
print('DEBUG: Downloading announce post '+messageJson['object'])
|
||||||
downloadAnnounce(session,baseDir,httpPrefix,nickname,domain,messageJson,__version__)
|
downloadAnnounce(session,baseDir,httpPrefix,nickname,domain,messageJson,__version__)
|
||||||
if debug:
|
if debug:
|
||||||
print('DEBUG: announced/repeated post found in inbox')
|
print('DEBUG: announced/repeated post arrived in inbox')
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def receiveUndoAnnounce(session,handle: str,baseDir: str, \
|
def receiveUndoAnnounce(session,handle: str,baseDir: str, \
|
||||||
|
|
Loading…
Reference in New Issue