Fix clientProxy isSyncing not taking into consideration the encryptionSyncLoop feature flag

This commit is contained in:
Stefan Ceriu
2023-06-24 20:36:03 +03:00
parent aa30fe29e9
commit a7aae1bbc4
@@ -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() {