mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
Fix favourites metaspace not updating (#8594)
This commit is contained in:
parent
11eca18450
commit
4c1c12bbc4
@ -960,9 +960,7 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> {
|
||||
};
|
||||
|
||||
private onRoomAccountData = (ev: MatrixEvent, room: Room, lastEv?: MatrixEvent) => {
|
||||
if (!room.isSpaceRoom()) return;
|
||||
|
||||
if (ev.getType() === EventType.SpaceOrder) {
|
||||
if (room.isSpaceRoom() && ev.getType() === EventType.SpaceOrder) {
|
||||
this.spaceOrderLocalEchoMap.delete(room.roomId); // clear any local echo
|
||||
const order = ev.getContent()?.order;
|
||||
const lastOrder = lastEv?.getContent()?.order;
|
||||
|
Loading…
Reference in New Issue
Block a user