mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Make pinned events required state in SlidingSync (#3385)
This is needed to always have the pinned events of a room as soon as we open it.
This commit is contained in:
committed by
GitHub
parent
b8ba67454b
commit
5920fd3f45
+1
@@ -45,6 +45,7 @@ class RoomSyncSubscriber(
|
|||||||
RequiredState(key = EventType.STATE_ROOM_CANONICAL_ALIAS, value = ""),
|
RequiredState(key = EventType.STATE_ROOM_CANONICAL_ALIAS, value = ""),
|
||||||
RequiredState(key = EventType.STATE_ROOM_JOIN_RULES, value = ""),
|
RequiredState(key = EventType.STATE_ROOM_JOIN_RULES, value = ""),
|
||||||
RequiredState(key = EventType.STATE_ROOM_POWER_LEVELS, value = ""),
|
RequiredState(key = EventType.STATE_ROOM_POWER_LEVELS, value = ""),
|
||||||
|
RequiredState(key = EventType.STATE_ROOM_PINNED_EVENT, value = ""),
|
||||||
),
|
),
|
||||||
timelineLimit = DEFAULT_TIMELINE_LIMIT,
|
timelineLimit = DEFAULT_TIMELINE_LIMIT,
|
||||||
// We don't need heroes here as they're already included in the `all_rooms` list
|
// We don't need heroes here as they're already included in the `all_rooms` list
|
||||||
|
|||||||
Reference in New Issue
Block a user