forked from indymedia/epicyon
populate replies later
parent
5f0416a73b
commit
002c400e40
3
inbox.py
3
inbox.py
|
@ -1435,8 +1435,6 @@ def inboxAfterCapabilities(session,keyId: str,handle: str,messageJson: {}, \
|
||||||
print('DEBUG: Delete accepted from '+actor)
|
print('DEBUG: Delete accepted from '+actor)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
populateReplies(baseDir,httpPrefix,domain,messageJson,maxReplies,debug)
|
|
||||||
|
|
||||||
if debug:
|
if debug:
|
||||||
print('DEBUG: object capabilities passed')
|
print('DEBUG: object capabilities passed')
|
||||||
print('copy queue file from '+queueFilename+' to '+destinationFilename)
|
print('copy queue file from '+queueFilename+' to '+destinationFilename)
|
||||||
|
@ -1450,6 +1448,7 @@ def inboxAfterCapabilities(session,keyId: str,handle: str,messageJson: {}, \
|
||||||
postJsonObject=messageJson
|
postJsonObject=messageJson
|
||||||
|
|
||||||
if validPostContent(postJsonObject,maxMentions):
|
if validPostContent(postJsonObject,maxMentions):
|
||||||
|
populateReplies(baseDir,httpPrefix,domain,messageJson,maxReplies,debug)
|
||||||
if not isGroup:
|
if not isGroup:
|
||||||
# create a DM notification file if needed
|
# create a DM notification file if needed
|
||||||
if isDM(postJsonObject):
|
if isDM(postJsonObject):
|
||||||
|
|
Loading…
Reference in New Issue