Fix removing a room from a Space and interaction with m.space.parent
(#6944)
This commit is contained in:
parent
c3ad8b4eed
commit
be0fa6da7b
3 changed files with 27 additions and 10 deletions
|
@ -281,7 +281,7 @@ describe("SpaceStore", () => {
|
|||
mkSpace(space1, [fav1, room1]);
|
||||
mkSpace(space2, [fav1, fav2, fav3, room1]);
|
||||
mkSpace(space3, [invite2]);
|
||||
// client.getRoom.mockImplementation(roomId => rooms.find(room => room.roomId === roomId));
|
||||
client.getRoom.mockImplementation(roomId => rooms.find(room => room.roomId === roomId));
|
||||
|
||||
[fav1, fav2, fav3].forEach(roomId => {
|
||||
client.getRoom(roomId).tags = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue