mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Replace old visible rooms range with subscriptions in the room list. (#3014)
* Add a SubscriptionTracker actor to RoomProxy. * Request subscriptions when scrolling rooms. * Stop unsubscribing in preparation for Simplified Sliding Sync.
This commit is contained in:
@@ -46,7 +46,15 @@ enum ClientProxyError: Error {
|
||||
}
|
||||
|
||||
enum SlidingSyncConstants {
|
||||
static let defaultTimelineLimit: UInt = 20
|
||||
static let defaultTimelineLimit: UInt32 = 20
|
||||
static let maximumVisibleRangeSize = 30
|
||||
static let defaultRequiredState = [
|
||||
RequiredState(key: "m.room.name", value: ""),
|
||||
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: "")
|
||||
]
|
||||
}
|
||||
|
||||
/// This struct represents the configuration that we are using to register the application through Pusher to Sygnal
|
||||
|
||||
Reference in New Issue
Block a user