work on sockets
This commit is contained in:
parent
c2b0277612
commit
2164ded679
@ -271,7 +271,7 @@ class Onionr:
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
def startChat(self):
|
def startChat(self):
|
||||||
socketInfo = json.dumps({'peer': api.data['signer'], 'address': address, 'port': port, 'create': True, 'reason': reason})
|
socketInfo = json.dumps({'peer': '', 'address': '', 'port': port, 'create': True, 'reason': 'chat'})
|
||||||
self.onionrCore.daemonQueueAdd('startSocket', socketInfo)
|
self.onionrCore.daemonQueueAdd('startSocket', socketInfo)
|
||||||
|
|
||||||
def getCommands(self):
|
def getCommands(self):
|
||||||
|
@ -49,7 +49,7 @@ def _processForwardKey(api, myBlock):
|
|||||||
'''
|
'''
|
||||||
Get the forward secrecy key specified by the user for us to use
|
Get the forward secrecy key specified by the user for us to use
|
||||||
'''
|
'''
|
||||||
peer = onionrusers.OnionrUser(self.api.get_core(), myBlock.signer)
|
peer = onionrusers.OnionrUser(api.get_core(), myBlock.signer)
|
||||||
key = myBlock.getMetadata('newFSKey')
|
key = myBlock.getMetadata('newFSKey')
|
||||||
|
|
||||||
# We don't need to validate here probably, but it helps
|
# We don't need to validate here probably, but it helps
|
||||||
|
Loading…
Reference in New Issue
Block a user