mirror of https://gitlab.com/bashrc2/epicyon
Fix sending to named addresses
parent
5a1575b4b8
commit
ae1bcc8138
|
@ -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
|
||||
|
|
20
outbox.py
20
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
|
||||
|
|
Loading…
Reference in New Issue