mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Convert email notifications
This commit is contained in:
parent
4c39664a66
commit
0a984d31f7
@ -162,9 +162,8 @@ define([
|
||||
ev.getAllSubcomponents('valarm').forEach(function (al) {
|
||||
var action = al.getFirstPropertyValue('action');
|
||||
if (action !== 'DISPLAY') {
|
||||
// XXX email: maybe keep a notification in CryptPad?
|
||||
// Email notification: keep it in "hidden" and create a cryptpad notification
|
||||
hidden.push(al.toString());
|
||||
return;
|
||||
}
|
||||
var trigger = al.getFirstPropertyValue('trigger');
|
||||
var minutes = -trigger.toSeconds() / 60;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user