Send notification with missed message to users if they received a PM while offline

This is configurable in the user's settings on Humbug

(imported from commit 80bf6d7a6f0dc3811117548e2225865db8b533d9)
This commit is contained in:
Leo Franchi
2013-05-07 17:19:52 -04:00
committed by Tim Abbott
parent 06f33a2bde
commit 4173862833
6 changed files with 59 additions and 14 deletions

View File

@@ -776,6 +776,10 @@ $(function () {
page_params.sounds_enabled = result.enable_sounds;
}
if (result.enable_offline_email_notifications !== undefined) {
page_params.enable_offline_email_notifications = result.enable_offline_email_notifications;
}
settings_status.removeClass(status_classes)
.addClass('alert-success')
.text(message).stop(true).fadeTo(0,1);