work on mail settings, onionruser own key adding bug fix
This commit is contained in:
parent
862c6f2ea4
commit
b62e613e8e
8 changed files with 25 additions and 24 deletions
|
@ -59,7 +59,6 @@ def on_insertblock(api, data={}):
|
|||
|
||||
|
||||
def on_processblocks(api, data=None):
|
||||
print('mail got block', data)
|
||||
if data['type'] != 'pm':
|
||||
return
|
||||
data['block'].decrypt()
|
||||
|
@ -73,7 +72,6 @@ def on_processblocks(api, data=None):
|
|||
else:
|
||||
signer = signer[:5]
|
||||
|
||||
print('detected mail', data['block'].hash)
|
||||
if data['block'].decrypted:
|
||||
config.reload()
|
||||
if config.get('mail.notificationSetting', True):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue