Finished implementing notification settings for sound and strangers

This commit is contained in:
Kevin Froman 2020-04-05 23:21:21 -05:00
parent 4cd2302bc9
commit ae8d1fc5ea
4 changed files with 55 additions and 8 deletions

View file

@ -17,7 +17,13 @@ fetch('/config/get/mail', {
if (mailSettings.notificationSetting === false){
document.getElementById('notificationSetting').checked = false
}
if (mailSettings.notificationSound === false){
document.getElementById('notificationSound').checked = false
}
if (typeof mailSettings.signature != undefined && mailSettings.signature != null && mailSettings.signature != ""){
document.getElementById('mailSignatureSetting').value = mailSettings.signature
}
if (mailSettings.strangersNotification == false){
document.getElementById('strangersNotification').checked = false
}
})