better support human public keys, do not use forward secrecy when not signing
This commit is contained in:
parent
30604fa23c
commit
3cf5f4c04d
5 changed files with 9 additions and 4 deletions
|
@ -290,10 +290,8 @@ class OnionrMail:
|
|||
return
|
||||
|
||||
def on_insertblock(api, data={}):
|
||||
print(data)
|
||||
sentboxTools = sentboxdb.SentBox(api.get_core())
|
||||
meta = json.dumps(data['meta'])
|
||||
print('on_insertblock', data)
|
||||
sentboxTools.addToSent(data['hash'], data['peer'], data['content'])
|
||||
|
||||
def on_pluginrequest(api, data=None):
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
<form method='post' action='/apipoints/mail/send' id='sendForm' enctype="application/x-www-form-urlencoded">
|
||||
<span class='closeOverlay' overlay='sendMessage'></span>
|
||||
To: <input id='draftID' type='text' name='to' placeholder='pubkey' required>
|
||||
Subject: <input name='subject' id='draftSubject' maxlength=25 type='text' placeholder='message subject'>
|
||||
<textarea name='message' placeholder='type your message...' id='draftText' required></textarea>
|
||||
<input type='submit' value='Send' class='successBtn'>
|
||||
</form>
|
||||
|
|
|
@ -32,6 +32,7 @@ function httpGet(theUrl) {
|
|||
function overlay(overlayID) {
|
||||
el = document.getElementById(overlayID)
|
||||
el.style.visibility = (el.style.visibility == "visible") ? "hidden" : "visible"
|
||||
scroll(0,0)
|
||||
}
|
||||
|
||||
var passLinks = document.getElementsByClassName("idLink")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue