This commit is contained in:
DarthBrento 2020-06-01 17:19:41 +02:00
parent 4fe974e7a8
commit 8fa2256fb0

View File

@ -122,8 +122,9 @@ Module.register("calendar", {
// Override socket notification handler. // Override socket notification handler.
socketNotificationReceived: function (notification, payload) { socketNotificationReceived: function (notification, payload) {
if (this.identifier !== payload.id) if (this.identifier !== payload.id) {
{return;} return;
}
if (notification === "CALENDAR_EVENTS") { if (notification === "CALENDAR_EVENTS") {
if (this.hasCalendarURL(payload.url)) { if (this.hasCalendarURL(payload.url)) {