From a80aa22a21fb1b28815b5c310e6036c57c5ae357 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 3 Sep 2021 19:22:27 +0100 Subject: [PATCH] Update inbox and outbox --- daemon.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/daemon.py b/daemon.py index 7d655e2ee..127cada9c 100644 --- a/daemon.py +++ b/daemon.py @@ -6743,9 +6743,11 @@ class PubServer(BaseHTTPRequestHandler): self.postToNickname, domainFull, announceJson, 'outbox') # also copy the post id to the inbox index - inboxUpdateIndex('inbox', baseDir, - self.postToNickname + '@' + domain, - announceFilename, debug) + indexes = ['outbox', 'inbox'] + for boxNameIndex in indexes: + inboxUpdateIndex(boxNameIndex, baseDir, + self.postToNickname + '@' + domain, + announceFilename, debug) # clear the icon from the cache so that it gets updated if self.server.iconsCache.get('repeat.png'):