From 4fe974e7a81a91bab9c832463a5dece7af43120f Mon Sep 17 00:00:00 2001 From: DarthBrento Date: Mon, 1 Jun 2020 13:31:46 +0200 Subject: [PATCH] Check identifier for type, too --- modules/default/calendar/calendar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/calendar.js index 1db1a594..5b81431b 100755 --- a/modules/default/calendar/calendar.js +++ b/modules/default/calendar/calendar.js @@ -122,7 +122,7 @@ Module.register("calendar", { // Override socket notification handler. socketNotificationReceived: function (notification, payload) { - if (this.identifier != payload.id) + if (this.identifier !== payload.id) {return;} if (notification === "CALENDAR_EVENTS") {