diff --git a/onionr/onionr.py b/onionr/onionr.py index 8843aab9..adf247b3 100755 --- a/onionr/onionr.py +++ b/onionr/onionr.py @@ -271,7 +271,7 @@ class Onionr: ''' 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) def getCommands(self): diff --git a/onionr/static-data/default-plugins/metadataprocessor/main.py b/onionr/static-data/default-plugins/metadataprocessor/main.py index b4065f11..759db071 100644 --- a/onionr/static-data/default-plugins/metadataprocessor/main.py +++ b/onionr/static-data/default-plugins/metadataprocessor/main.py @@ -49,7 +49,7 @@ def _processForwardKey(api, myBlock): ''' 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') # We don't need to validate here probably, but it helps