populate replies later

main2
Bob Mottram 2019-10-11 13:00:18 +01:00
parent 5f0416a73b
commit 002c400e40
1 changed files with 1 additions and 2 deletions

View File

@ -1435,8 +1435,6 @@ def inboxAfterCapabilities(session,keyId: str,handle: str,messageJson: {}, \
print('DEBUG: Delete accepted from '+actor)
return False
populateReplies(baseDir,httpPrefix,domain,messageJson,maxReplies,debug)
if debug:
print('DEBUG: object capabilities passed')
print('copy queue file from '+queueFilename+' to '+destinationFilename)
@ -1450,6 +1448,7 @@ def inboxAfterCapabilities(session,keyId: str,handle: str,messageJson: {}, \
postJsonObject=messageJson
if validPostContent(postJsonObject,maxMentions):
populateReplies(baseDir,httpPrefix,domain,messageJson,maxReplies,debug)
if not isGroup:
# create a DM notification file if needed
if isDM(postJsonObject):