forked from indymedia/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.federationList,self.server.sendThreads, \
|
||||||
self.server.postLog,self.server.cachedWebfingers, \
|
self.server.postLog,self.server.cachedWebfingers, \
|
||||||
self.server.personCache,self.server.allowDeletion, \
|
self.server.personCache,self.server.allowDeletion, \
|
||||||
self.server.useTor,version,True)
|
self.server.useTor,version,self.server.debug)
|
||||||
|
|
||||||
def _postToOutboxThread(self,messageJson: {}) -> bool:
|
def _postToOutboxThread(self,messageJson: {}) -> bool:
|
||||||
"""Creates a thread to send a post
|
"""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']))
|
' recipient: '+str(messageJson['to']))
|
||||||
else:
|
else:
|
||||||
print('c2s sender: '+postToNickname+'@'+domain+':'+str(port))
|
print('c2s sender: '+postToNickname+'@'+domain+':'+str(port))
|
||||||
sendToNamedAddresses(server.session,baseDir, \
|
sendToNamedAddresses(server.session,baseDir, \
|
||||||
postToNickname,domain,port, \
|
postToNickname,domain,port, \
|
||||||
httpPrefix, \
|
httpPrefix, \
|
||||||
federationList, \
|
federationList, \
|
||||||
sendThreads, \
|
sendThreads, \
|
||||||
postLog, \
|
postLog, \
|
||||||
cachedWebfingers, \
|
cachedWebfingers, \
|
||||||
personCache, \
|
personCache, \
|
||||||
messageJson,debug, \
|
messageJson,debug, \
|
||||||
version)
|
version)
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue