work on mail settings, onionruser own key adding bug fix

This commit is contained in:
Kevin Froman 2020-02-27 21:06:28 -06:00
parent 862c6f2ea4
commit b62e613e8e
8 changed files with 25 additions and 24 deletions

View file

@ -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):

View file

@ -10,16 +10,16 @@
},
"general": {
"announce_node": true,
"dev_mode": true,
"dev_mode": false,
"display_header": true,
"hide_created_blocks": true,
"insert_deniable_blocks": false,
"insert_deniable_blocks": true,
"max_block_age": 2678400,
"minimum_block_pow": 4,
"minimum_send_pow": 4,
"minimum_block_pow": 5,
"minimum_send_pow": 5,
"public_key": "",
"random_bind_ip": false,
"security_level": 1,
"random_bind_ip": true,
"security_level": 0,
"show_notifications": true,
"socket_servers": false,
"store_plaintext_blocks": true,
@ -33,12 +33,12 @@
},
"file": {
"output": true,
"remove_on_exit": false
"remove_on_exit": true
},
"verbosity": "default"
},
"onboarding": {
"done": true
"done": false
},
"peers": {
"max_connect": 1000,
@ -58,11 +58,11 @@
"tor": {
"bridge_fingerprint": "",
"bridge_ip": "",
"existing_control_password": "testt",
"existing_control_port": 1338,
"existing_socks_port": 1337,
"existing_control_password": "",
"existing_control_port": 0,
"existing_socks_port": 0,
"use_bridge": false,
"use_existing_tor": true,
"use_existing_tor": false,
"v3onions": true
},
"transports": {
@ -72,4 +72,4 @@
"ui": {
"theme": "dark"
}
}
}

View file

@ -161,7 +161,7 @@
<div class="column is-2">
<div class="field">
<input id="messagePaddingSetting" type="checkbox"
class="switch is-rounded is-warning" checked>
class="switch is-rounded is-warning">
<label for="messagePaddingSetting"></label>
</div>
</div>