Add hard limit of 50 rooms to sliding sync and the home screen
This commit is contained in:
committed by
Stefan Ceriu
parent
5c621f0587
commit
f18c829353
@@ -88,7 +88,8 @@ class ClientProxy: ClientProxyProtocol {
|
||||
.requiredState(requiredState: [RequiredState(key: "m.room.avatar", value: ""),
|
||||
RequiredState(key: "m.room.encryption", value: "")])
|
||||
.name(name: "HomeScreenView")
|
||||
.syncMode(mode: .fullSync)
|
||||
.syncMode(mode: .selective)
|
||||
.addRange(from: 0, to: 50) // FIXME: Replace this with a dynamic solution
|
||||
.build()
|
||||
|
||||
let slidingSync = try slidingSyncBuilder
|
||||
|
||||
Reference in New Issue
Block a user