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.pull/21833/head
parent
dd216d1b3a
commit
b2a1a40961
|
@ -270,6 +270,7 @@ module.exports = createReactClass({
|
||||||
roomServer: server,
|
roomServer: server,
|
||||||
instanceId: instanceId,
|
instanceId: instanceId,
|
||||||
includeAll: includeAll,
|
includeAll: includeAll,
|
||||||
|
error: null,
|
||||||
}, this.refreshRoomList);
|
}, this.refreshRoomList);
|
||||||
// We also refresh the room list each time even though this
|
// We also refresh the room list each time even though this
|
||||||
// filtering is client-side. It hopefully won't be client side
|
// filtering is client-side. It hopefully won't be client side
|
||||||
|
|
Loading…
Reference in New Issue