Convert email notifications

pull/1/head
yflory 4 years ago
parent 4c39664a66
commit 0a984d31f7

@ -162,9 +162,8 @@ define([
ev.getAllSubcomponents('valarm').forEach(function (al) { ev.getAllSubcomponents('valarm').forEach(function (al) {
var action = al.getFirstPropertyValue('action'); var action = al.getFirstPropertyValue('action');
if (action !== 'DISPLAY') { 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()); hidden.push(al.toString());
return;
} }
var trigger = al.getFirstPropertyValue('trigger'); var trigger = al.getFirstPropertyValue('trigger');
var minutes = -trigger.toSeconds() / 60; var minutes = -trigger.toSeconds() / 60;

Loading…
Cancel
Save