work on pm and fixed broken pex when none
This commit is contained in:
parent
a611643526
commit
8d261b03dc
4 changed files with 18 additions and 7 deletions
|
|
@ -37,9 +37,17 @@ class OnionrUtils:
|
|||
self._core = coreInstance
|
||||
return
|
||||
|
||||
def sendPM(self, user, message):
|
||||
def sendPM(self, pubkey, message):
|
||||
'''High level function to encrypt a message to a peer and insert it as a block'''
|
||||
|
||||
forwardKey = self._core.getPeerInfo(pubkey, 'forwardKey')
|
||||
|
||||
if self._core.getPeerInfo(pubkey, 'pubkeyExchanged'):
|
||||
pass
|
||||
|
||||
if len(forwardKey) > 0:
|
||||
pass
|
||||
|
||||
return
|
||||
|
||||
def incrementAddressSuccess(self, address):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue