Ensure RoomListStore2 gets reset when the client becomes invalidated
Fixes https://github.com/vector-im/riot-web/issues/14384 We also make use of the new AsyncStore type to handle this more safely.
This commit is contained in:
parent
1f57b85b30
commit
a8829f09d0
2 changed files with 18 additions and 32 deletions
|
@ -109,7 +109,7 @@ describe('RoomList', () => {
|
|||
client.getRoom = (roomId) => roomMap[roomId];
|
||||
|
||||
// Now that everything has been set up, prepare and update the store
|
||||
await RoomListStore.instance.makeReady(client);
|
||||
await RoomListStore.instance.makeReady();
|
||||
|
||||
done();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue