forked from mirrors/linphone-iphone
Disable call merge into conference if not admin of conference
This commit is contained in:
parent
05b905a3f1
commit
9ba95b024c
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ import linphonesw
|
|||
|
||||
func mergeToConferencePossible() -> Bool { // 2 calls or more not in conf or 1 call or more and 1 conf
|
||||
let callsNotInConf = numberOfCallsNotInConf()
|
||||
return (ConferenceViewModel.shared.conferenceExists.value == true && callsNotInConf >= 1) || (ConferenceViewModel.shared.conferenceExists.value != true && callsNotInConf >= 2 )
|
||||
return (ConferenceViewModel.shared.conferenceExists.value == true && callsNotInConf >= 1 && ConferenceViewModel.shared.conference.value?.me?.isAdmin == true) || (ConferenceViewModel.shared.conferenceExists.value != true && callsNotInConf >= 2 )
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue