Mark queue items as belonging to the shared inbox

master
Bob Mottram 2019-07-05 12:39:03 +01:00
parent 509ba6b840
commit d0f7ba2a53
1 changed files with 5 additions and 0 deletions

View File

@ -110,7 +110,12 @@ def savePostToInboxQueue(baseDir: str,httpPrefix: str,nickname: str, domain: str
return None return None
filename=inboxQueueDir+'/'+postId.replace('/','#')+'.json' filename=inboxQueueDir+'/'+postId.replace('/','#')+'.json'
sharedInboxItem=False
if nickname=='sharedinbox':
sharedInboxItem=True
newQueueItem = { newQueueItem = {
'sharedInbox': sharedInboxItem,
'published': published, 'published': published,
'host': host, 'host': host,
'headers': headers, 'headers': headers,