added sound notification support and forward secery setting finished
This commit is contained in:
parent
23782dcb8f
commit
aea4815fbd
11 changed files with 76 additions and 42 deletions
|
|
@ -24,7 +24,9 @@ subject = document.getElementById('draftSubject')
|
|||
friendPicker = document.getElementById('friendSelect')
|
||||
|
||||
function sendMail(toData, message, subject){
|
||||
|
||||
postData = {'message': message, 'to': toData, 'type': 'pm', 'encrypt': true, 'meta': JSON.stringify({'subject': subject})}
|
||||
postData.forward = document.getElementById('forwardSecrecySetting').checked
|
||||
postData = JSON.stringify(postData)
|
||||
sendForm.style.display = 'none'
|
||||
fetch('/insertblock', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue