mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed group conversation creation if LIME server URL not set
This commit is contained in:
parent
cb27b35984
commit
2bd0de4af1
1 changed files with 5 additions and 1 deletions
|
|
@ -111,7 +111,11 @@ class StartConversationViewModel
|
|||
params.isChatEnabled = true
|
||||
params.isGroupEnabled = true
|
||||
params.subject = groupChatRoomSubject
|
||||
params.securityLevel = Conference.SecurityLevel.EndToEnd
|
||||
if (LinphoneUtils.isEndToEndEncryptedChatAvailable(core)) {
|
||||
params.securityLevel = Conference.SecurityLevel.EndToEnd
|
||||
} else {
|
||||
params.securityLevel = Conference.SecurityLevel.None
|
||||
}
|
||||
params.account = account
|
||||
|
||||
val chatParams = params.chatParams ?: return@postOnCoreThread
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue