Commit 19ea10da by Sebastián Katzer

Repeating notifications are always scheduled and not triggered

parent 21d27bc1
......@@ -255,6 +255,9 @@ exports.isToastTriggered = function (toast) {
notification = this.getAll(id)[0];
fireDate = new Date((notification.at) * 1000);
if (this.isRepeating(notification))
return false;
return fireDate <= new Date();
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment