forked from indymedia/epicyon
Mark queue items as belonging to the shared inbox
parent
509ba6b840
commit
d0f7ba2a53
5
inbox.py
5
inbox.py
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue