Fixed encryption toggle visible in chat room creation when using a non compatible account
This commit is contained in:
parent
d12ff2b81a
commit
6f5c83026a
1 changed files with 4 additions and 4 deletions
|
@ -40,14 +40,14 @@ class LinphoneUtils {
|
|||
|
||||
fun isLimeAvailable(): Boolean {
|
||||
val core = coreContext.core
|
||||
val defaultProxy = core.defaultProxyConfig
|
||||
return core.limeX3DhAvailable() && core.limeX3DhEnabled() && core.limeX3DhServerUrl != null && defaultProxy != null
|
||||
return core.limeX3DhAvailable() && core.limeX3DhEnabled() &&
|
||||
core.limeX3DhServerUrl != null &&
|
||||
core.defaultProxyConfig?.conferenceFactoryUri != null
|
||||
}
|
||||
|
||||
fun isGroupChatAvailable(): Boolean {
|
||||
val core = coreContext.core
|
||||
val defaultProxy = core.defaultProxyConfig
|
||||
return defaultProxy != null && defaultProxy.conferenceFactoryUri != null
|
||||
return core.defaultProxyConfig?.conferenceFactoryUri != null
|
||||
}
|
||||
|
||||
fun createOneToOneChatRoom(participant: Address, isSecured: Boolean = false): ChatRoom? {
|
||||
|
|
Loading…
Reference in a new issue