Convert email notifications

This commit is contained in:
yflory 2021-04-15 18:09:11 +02:00
parent 4c39664a66
commit 0a984d31f7

View file

@ -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;