Remove redundant check

pull/21833/head
David Baker 2018-07-05 19:51:12 +01:00
parent 8c10dc1860
commit 3f60300983
1 changed files with 0 additions and 1 deletions

View File

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