Skip to content

Commit

Permalink
Make pinned events required state in SlidingSync
Browse files Browse the repository at this point in the history
This is needed to always have the pinned events of a room as soon as we open it.
  • Loading branch information
jmartinesp committed Sep 3, 2024
1 parent a6cdbc3 commit 77476bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ElementX/Sources/Services/Client/ClientProxyProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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: "")
]
}

Expand Down

0 comments on commit 77476bb

Please sign in to comment.