forked from indymedia/epicyon
Don't save upgrade activities
parent
9fd8ed4c2e
commit
60e8821d13
11
daemon.py
11
daemon.py
|
@ -460,11 +460,12 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if self.server.debug:
|
if self.server.debug:
|
||||||
pprint(messageJson)
|
pprint(messageJson)
|
||||||
print('DEBUG: savePostToBox')
|
print('DEBUG: savePostToBox')
|
||||||
savePostToBox(self.server.baseDir, \
|
if messageJson['type']!='Upgrade':
|
||||||
self.server.httpPrefix, \
|
savePostToBox(self.server.baseDir, \
|
||||||
postId, \
|
self.server.httpPrefix, \
|
||||||
self.postToNickname, \
|
postId, \
|
||||||
self.server.domainFull,messageJson,'outbox')
|
self.postToNickname, \
|
||||||
|
self.server.domainFull,messageJson,'outbox')
|
||||||
if outboxAnnounce(self.server.baseDir,messageJson,self.server.debug):
|
if outboxAnnounce(self.server.baseDir,messageJson,self.server.debug):
|
||||||
if self.server.debug:
|
if self.server.debug:
|
||||||
print('DEBUG: Updated announcements (shares) collection for the post associated with the Announce activity')
|
print('DEBUG: Updated announcements (shares) collection for the post associated with the Announce activity')
|
||||||
|
|
Loading…
Reference in New Issue