mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 11:58:32 +00:00
Fix clientProxy isSyncing not taking into consideration the encryptionSyncLoop feature flag
This commit is contained in:
@@ -106,7 +106,13 @@ class ClientProxy: ClientProxyProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var isSyncing: Bool {
|
var isSyncing: Bool {
|
||||||
roomListService?.isSyncing() ?? false && isEncryptionSyncing
|
let isRoomListServiceSyncing = roomListService?.isSyncing() ?? false
|
||||||
|
|
||||||
|
if ServiceLocator.shared.settings.isEncryptionSyncEnabled {
|
||||||
|
return isRoomListServiceSyncing && isEncryptionSyncing
|
||||||
|
} else {
|
||||||
|
return isRoomListServiceSyncing
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func startSync() {
|
func startSync() {
|
||||||
|
|||||||
Reference in New Issue
Block a user