Update inbox and outbox

main
Bob Mottram 2021-09-03 19:22:27 +01:00
parent d932b75094
commit a80aa22a21
1 changed files with 5 additions and 3 deletions

View File

@ -6743,7 +6743,9 @@ class PubServer(BaseHTTPRequestHandler):
self.postToNickname, domainFull,
announceJson, 'outbox')
# also copy the post id to the inbox index
inboxUpdateIndex('inbox', baseDir,
indexes = ['outbox', 'inbox']
for boxNameIndex in indexes:
inboxUpdateIndex(boxNameIndex, baseDir,
self.postToNickname + '@' + domain,
announceFilename, debug)