Mark queue items as belonging to the shared inbox

This commit is contained in:
bashrc committed 2019-07-05 12:39:03 +01:00
1 parent 509ba6b840
commit d0f7ba2a53
1 file changed
+5
+5
View File
@@ -110,7 +110,12 @@ def savePostToInboxQueue(baseDir: str,httpPrefix: str,nickname: str, domain: str
return None
filename=inboxQueueDir+'/'+postId.replace('/','#')+'.json'
sharedInboxItem=False
if nickname=='sharedinbox':
sharedInboxItem=True
newQueueItem = {
'sharedInbox': sharedInboxItem,
'published': published,
'host': host,
'headers': headers,