mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Prevent starting a group call while already in call
This commit is contained in:
parent
30fc60c0ef
commit
7bf9eb8394
1 changed files with 3 additions and 3 deletions
|
|
@ -149,9 +149,9 @@ class StartCallViewModel
|
|||
@UiThread
|
||||
fun updateGroupCallButtonVisibility() {
|
||||
coreContext.postOnCoreThread { core ->
|
||||
val hideGroupCall = corePreferences.disableMeetings || !LinphoneUtils.isRemoteConferencingAvailable(
|
||||
core
|
||||
)
|
||||
val hideGroupCall = corePreferences.disableMeetings ||
|
||||
!LinphoneUtils.isRemoteConferencingAvailable(core) ||
|
||||
core.callsNb > 0
|
||||
hideGroupCallButton.postValue(hideGroupCall)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue