mirror of https://gitlab.com/bashrc2/epicyon
Only index outbox notes or announces
parent
6f33b6f2db
commit
c1bbe2863e
|
@ -594,6 +594,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
postId, \
|
postId, \
|
||||||
self.postToNickname, \
|
self.postToNickname, \
|
||||||
self.server.domainFull,messageJson,'outbox')
|
self.server.domainFull,messageJson,'outbox')
|
||||||
|
if messageJson['type']=='Create' or \
|
||||||
|
messageJson['type']=='Note' or \
|
||||||
|
messageJson['type']=='Announce':
|
||||||
inboxUpdateIndex('outbox',self.server.baseDir, \
|
inboxUpdateIndex('outbox',self.server.baseDir, \
|
||||||
self.postToNickname+'@'+self.server.domain, \
|
self.postToNickname+'@'+self.server.domain, \
|
||||||
savedFilename,self.server.debug)
|
savedFilename,self.server.debug)
|
||||||
|
|
Loading…
Reference in New Issue