From 3f60300983b966a01d5158da4ae30f060f7c481c Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 5 Jul 2018 19:51:12 +0100 Subject: [PATCH] Remove redundant check --- src/stores/WidgetEchoStore.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/stores/WidgetEchoStore.js b/src/stores/WidgetEchoStore.js index 3d6f03c459..2710f0a9a1 100644 --- a/src/stores/WidgetEchoStore.js +++ b/src/stores/WidgetEchoStore.js @@ -65,7 +65,6 @@ class WidgetEchoStore extends EventEmitter { roomHasPendingWidgetsOfType(roomId, currentRoomWidgets, type) { const roomEchoState = Object.assign({}, this._roomWidgetEcho[roomId]); - if (roomEchoState === undefined) return false; for (const w of currentRoomWidgets) { const widgetId = w.getStateKey();