mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +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 {
|
||||
roomListService?.isSyncing() ?? false && isEncryptionSyncing
|
||||
let isRoomListServiceSyncing = roomListService?.isSyncing() ?? false
|
||||
|
||||
if ServiceLocator.shared.settings.isEncryptionSyncEnabled {
|
||||
return isRoomListServiceSyncing && isEncryptionSyncing
|
||||
} else {
|
||||
return isRoomListServiceSyncing
|
||||
}
|
||||
}
|
||||
|
||||
func startSync() {
|
||||
|
||||
Reference in New Issue
Block a user