fix: Add space states to important events
We need the space state events in the important events to be able to differentiate rooms and spaces in the room list.
This commit is contained in:
parent
0e6ed1c51e
commit
37cfadd7e9
|
|
@ -185,6 +185,9 @@ class Client extends MatrixApi {
|
|||
EventTypes.Encryption,
|
||||
EventTypes.RoomCanonicalAlias,
|
||||
EventTypes.RoomTombstone,
|
||||
EventTypes.spaceChild,
|
||||
EventTypes.spaceParent,
|
||||
EventTypes.RoomCreate,
|
||||
]);
|
||||
roomPreviewLastEvents ??= {};
|
||||
roomPreviewLastEvents.addAll([
|
||||
|
|
|
|||
Loading…
Reference in New Issue