Shares only posted locally

master
Bob Mottram 2019-08-25 22:13:57 +01:00
parent 92b229b6d4
commit 7ada219cbd
1 changed files with 1 additions and 4 deletions

View File

@ -1969,10 +1969,7 @@ class PubServer(BaseHTTPRequestHandler):
if os.path.isfile(filename):
os.remove(filename)
self.postToNickname=nickname
if self._postToOutbox(messageJson):
return 1
else:
return -1
return 1
return -1
else:
return 0