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,9 +6743,11 @@ class PubServer(BaseHTTPRequestHandler):
self.postToNickname, domainFull, self.postToNickname, domainFull,
announceJson, 'outbox') announceJson, 'outbox')
# also copy the post id to the inbox index # also copy the post id to the inbox index
inboxUpdateIndex('inbox', baseDir, indexes = ['outbox', 'inbox']
self.postToNickname + '@' + domain, for boxNameIndex in indexes:
announceFilename, debug) inboxUpdateIndex(boxNameIndex, baseDir,
self.postToNickname + '@' + domain,
announceFilename, debug)
# clear the icon from the cache so that it gets updated # clear the icon from the cache so that it gets updated
if self.server.iconsCache.get('repeat.png'): if self.server.iconsCache.get('repeat.png'):