From c1bbe2863ee44ed67affff2a457b67ab1ca6ed15 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 18 Nov 2019 17:25:21 +0000 Subject: [PATCH] Only index outbox notes or announces --- daemon.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daemon.py b/daemon.py index 13df762b5..404d7a157 100644 --- a/daemon.py +++ b/daemon.py @@ -594,6 +594,9 @@ class PubServer(BaseHTTPRequestHandler): postId, \ self.postToNickname, \ self.server.domainFull,messageJson,'outbox') + if messageJson['type']=='Create' or \ + messageJson['type']=='Note' or \ + messageJson['type']=='Announce': inboxUpdateIndex('outbox',self.server.baseDir, \ self.postToNickname+'@'+self.server.domain, \ savedFilename,self.server.debug)