Only index outbox notes or announces

main
Bob Mottram 2019-11-18 17:25:21 +00:00
parent 6f33b6f2db
commit c1bbe2863e
1 changed files with 3 additions and 0 deletions

View File

@ -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)