From 002c400e402466494709e4576c8815be800a9d90 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 11 Oct 2019 13:00:18 +0100 Subject: [PATCH] populate replies later --- inbox.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inbox.py b/inbox.py index 1ec691b9..f3b27ca0 100644 --- a/inbox.py +++ b/inbox.py @@ -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):