Base ElementCall encryption on the room encryption state, remove developer options setting

This commit is contained in:
Stefan Ceriu
2024-02-01 16:37:03 +02:00
committed by Stefan Ceriu
parent 497177ee65
commit 7aa81f542c
11 changed files with 25 additions and 37 deletions
@@ -23,8 +23,6 @@ struct CallScreenCoordinatorParameters {
let callBaseURL: URL
/// A way to identify the current client against Element Call
let clientID: String
/// Whether encryption should be used within the call
let useEncryption: Bool
}
enum CallScreenCoordinatorAction {
@@ -43,8 +41,7 @@ final class CallScreenCoordinator: CoordinatorProtocol {
init(parameters: CallScreenCoordinatorParameters) {
viewModel = CallScreenViewModel(roomProxy: parameters.roomProxy,
callBaseURL: parameters.callBaseURL,
clientID: parameters.clientID,
useEncryption: parameters.useEncryption)
clientID: parameters.clientID)
}
func start() {