mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-02-07 14:58:24 +00:00
Fixed group conversation creation if LIME server URL not set
This commit is contained in:
parent
293da7b28b
commit
8ae0f5a51a
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