diff --git a/daemon.py b/daemon.py index 5cb3a5fc..249b2d56 100644 --- a/daemon.py +++ b/daemon.py @@ -666,7 +666,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.federationList,self.server.sendThreads, \ self.server.postLog,self.server.cachedWebfingers, \ self.server.personCache,self.server.allowDeletion, \ - self.server.useTor,version,True) + self.server.useTor,version,self.server.debug) def _postToOutboxThread(self,messageJson: {}) -> bool: """Creates a thread to send a post diff --git a/outbox.py b/outbox.py index b795bba3..995192e2 100644 --- a/outbox.py +++ b/outbox.py @@ -297,14 +297,14 @@ def postMessageToOutbox(messageJson: {},postToNickname: str, \ ' recipient: '+str(messageJson['to'])) else: print('c2s sender: '+postToNickname+'@'+domain+':'+str(port)) - sendToNamedAddresses(server.session,baseDir, \ - postToNickname,domain,port, \ - httpPrefix, \ - federationList, \ - sendThreads, \ - postLog, \ - cachedWebfingers, \ - personCache, \ - messageJson,debug, \ - version) + sendToNamedAddresses(server.session,baseDir, \ + postToNickname,domain,port, \ + httpPrefix, \ + federationList, \ + sendThreads, \ + postLog, \ + cachedWebfingers, \ + personCache, \ + messageJson,debug, \ + version) return True