mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Base ElementCall encryption on the room encryption state, remove developer options setting
This commit is contained in:
committed by
Stefan Ceriu
parent
497177ee65
commit
7aa81f542c
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user