From 8b3abc7f6de7d18b1ca5b802f624ac60a3be6d5b Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Mon, 14 Oct 2024 13:20:04 +0200 Subject: [PATCH] Avoid participants duplication upon merging calls --- Linphone/core/participant/ParticipantDeviceList.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Linphone/core/participant/ParticipantDeviceList.cpp b/Linphone/core/participant/ParticipantDeviceList.cpp index 373168c71..c33c20034 100644 --- a/Linphone/core/participant/ParticipantDeviceList.cpp +++ b/Linphone/core/participant/ParticipantDeviceList.cpp @@ -74,6 +74,7 @@ QSharedPointer ParticipantDeviceList::getMe() const { void ParticipantDeviceList::setDevices(QList> devices) { mustBeInMainThread(log().arg(Q_FUNC_INFO)); + resetData(); add(devices); lDebug() << log().arg("Add %1 devices").arg(devices.size()); }