mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Fix participant list in conf
This commit is contained in:
parent
f106f54021
commit
6c10018788
1 changed files with 4 additions and 2 deletions
|
|
@ -280,7 +280,6 @@ class CallViewModel: ObservableObject {
|
|||
|
||||
DispatchQueue.main.async {
|
||||
self.displayName = displayNameTmp
|
||||
self.participantList = []
|
||||
|
||||
self.myParticipantModel = myParticipantModelTmp
|
||||
|
||||
|
|
@ -357,7 +356,10 @@ class CallViewModel: ObservableObject {
|
|||
DispatchQueue.main.async {
|
||||
self.activeSpeakerParticipant = activeSpeakerParticipantTmp
|
||||
self.activeSpeakerName = activeSpeakerNameTmp
|
||||
self.participantList = participantListTmp
|
||||
if (activeSpeakerParticipantBis != nil && !activeSpeakerParticipantBis!.address.equal(address2: activeSpeakerParticipantTmp.address))
|
||||
|| ( activeSpeakerParticipantBis == nil) {
|
||||
self.participantList = participantListTmp
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue