From d0f7ba2a53fe4f68bf48feba5605352ab640a594 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 5 Jul 2019 12:39:03 +0100 Subject: [PATCH] Mark queue items as belonging to the shared inbox --- inbox.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/inbox.py b/inbox.py index ac9d527c..8f83bff5 100644 --- a/inbox.py +++ b/inbox.py @@ -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,