Update the SDK and Element Call. (#4527)

* Update Element Call to RC3

* Update the SDK.

* Add feature flag for latest event sorter.
This commit is contained in:
Doug
2025-09-19 18:06:48 +01:00
committed by GitHub
parent bfaca7cff9
commit c29123b99b
9 changed files with 96 additions and 13 deletions
@@ -89,10 +89,12 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
self.roomList = roomList
do {
listUpdatesSubscriptionResult = roomList.entriesWithDynamicAdapters(pageSize: UInt32(roomListPageSize), listener: SDKListener { [weak self] updates in
guard let self else { return }
diffsPublisher.send(updates)
})
listUpdatesSubscriptionResult = roomList.entriesWithDynamicAdaptersWith(pageSize: UInt32(roomListPageSize),
enableLatestEventSorter: appSettings.lowPriorityFilterEnabled,
listener: SDKListener { [weak self] updates in
guard let self else { return }
diffsPublisher.send(updates)
})
// Forces the listener above to be called with the current state
setFilter(.all(filters: []))