From b2a1a409613d0479cbf1b15498c6f69bd64cf173 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 16 Dec 2019 16:47:33 -0700 Subject: [PATCH] Fix room directory maintaining and error state Fixes https://github.com/vector-im/riot-web/issues/11665 We weren't clearing the error from a previous lookup, which effectively prevented the UI from working after an error happened. --- src/components/structures/RoomDirectory.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/structures/RoomDirectory.js b/src/components/structures/RoomDirectory.js index 4823b0976c..2c885f7eb2 100644 --- a/src/components/structures/RoomDirectory.js +++ b/src/components/structures/RoomDirectory.js @@ -270,6 +270,7 @@ module.exports = createReactClass({ roomServer: server, instanceId: instanceId, includeAll: includeAll, + error: null, }, this.refreshRoomList); // We also refresh the room list each time even though this // filtering is client-side. It hopefully won't be client side