Extra debug

main2
Bob Mottram 2019-10-19 14:02:41 +01:00
parent 192236d58e
commit 3b688be18b
1 changed files with 4 additions and 0 deletions

View File

@ -1638,10 +1638,14 @@ def inboxAfterCapabilities(session,keyId: str,handle: str,messageJson: {}, \
if postSavedToFile: if postSavedToFile:
inboxUpdateCalendar(baseDir,handle,postJsonObject) inboxUpdateCalendar(baseDir,handle,postJsonObject)
if debug:
print('DEBUG: saving inbox post as html to cache')
inboxStorePostToHtmlCache(translate,baseDir,httpPrefix, \ inboxStorePostToHtmlCache(translate,baseDir,httpPrefix, \
session,cachedWebfingers,personCache, \ session,cachedWebfingers,personCache, \
handle.split('@')[0],domain,port, \ handle.split('@')[0],domain,port, \
postJsonObject,allowDeletion) postJsonObject,allowDeletion)
if debug:
print('DEBUG: saved inbox post as html to cache')
# send the post out to group members # send the post out to group members
if isGroup: if isGroup: