Skip to content

Commit

Permalink
also the encryption value of the room list api will depend on the fla…
Browse files Browse the repository at this point in the history
…g now
  • Loading branch information
Velin92 committed Jun 20, 2023
1 parent a1f30b2 commit 2fba9cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ElementX/Sources/Services/Client/ClientProxy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ class ClientProxy: ClientProxyProtocol {
}

do {
let roomListService = try client.roomList(withEncryption: false)
let roomListService = try client.roomList(withEncryption: !ServiceLocator.shared.settings.isEncryptionSyncEnabled)
roomListStateUpdateTaskHandle = roomListService.state(listener: RoomListStateListenerProxy { [weak self] state in
guard let self else { return }
MXLog.info("Received room list update: \(state)")
Expand Down

0 comments on commit 2fba9cc

Please sign in to comment.