Use newly added addParticipants instead of calling multiple times addParticipant
This commit is contained in:
parent
87e1ae3500
commit
bce660fbdd
1 changed files with 1 additions and 3 deletions
|
@ -369,9 +369,7 @@ class ControlsViewModel : ViewModel() {
|
|||
Log.i("[Call] Setting videoEnabled to [$currentCallVideoEnabled] in conference params")
|
||||
|
||||
val conference = core.conference ?: core.createConferenceWithParams(params)
|
||||
for (call in core.calls) {
|
||||
conference?.addParticipant(call)
|
||||
}
|
||||
conference?.addParticipants(core.calls)
|
||||
|
||||
toggleOptionsMenu()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue