mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-20 13:08:07 +00:00
Fixed issue with conference participants devices when admin status of one participant changes
This commit is contained in:
parent
b6e36272f7
commit
b3da6ed347
1 changed files with 12 additions and 4 deletions
|
|
@ -497,7 +497,9 @@ class ConferenceViewModel
|
|||
|
||||
@WorkerThread
|
||||
private fun computeParticipants(skipDevices: Boolean) {
|
||||
participantDevices.value.orEmpty().forEach(ConferenceParticipantDeviceModel::destroy)
|
||||
if (!skipDevices) {
|
||||
participantDevices.value.orEmpty().forEach(ConferenceParticipantDeviceModel::destroy)
|
||||
}
|
||||
|
||||
val participantsList = arrayListOf<ConferenceParticipantModel>()
|
||||
val devicesList = arrayListOf<ConferenceParticipantDeviceModel>()
|
||||
|
|
@ -557,9 +559,15 @@ class ConferenceViewModel
|
|||
}
|
||||
}
|
||||
}
|
||||
Log.i(
|
||||
"$TAG [${devicesList.size}] participant devices for [${participantsList.size}] participants will be displayed (not counting ourselves)"
|
||||
)
|
||||
if (skipDevices) {
|
||||
Log.i(
|
||||
"$TAG [${participantsList.size}] participants will be displayed (not counting ourselves), devices were skipped"
|
||||
)
|
||||
} else {
|
||||
Log.i(
|
||||
"$TAG [${devicesList.size}] participant devices for [${participantsList.size}] participants will be displayed (not counting ourselves)"
|
||||
)
|
||||
}
|
||||
|
||||
val meAvatarModel = coreContext.contactsManager.getContactAvatarModelForAddress(
|
||||
meParticipant.address
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue