Make pinned events required state in SlidingSync

This is needed to always have the pinned events of a room as soon as we open it.
This commit is contained in:
Jorge Martín
2024-09-03 16:56:01 +02:00
committed by Stefan Ceriu
parent c132f67913
commit 3b0f02d2b9
@@ -54,7 +54,8 @@ enum SlidingSyncConstants {
RequiredState(key: "m.room.topic", value: ""),
RequiredState(key: "m.room.avatar", value: ""),
RequiredState(key: "m.room.canonical_alias", value: ""),
RequiredState(key: "m.room.join_rules", value: "")
RequiredState(key: "m.room.join_rules", value: ""),
RequiredState(key: "m.room.pinned_events", value: "")
]
}