Avoid participants duplication upon merging calls

This commit is contained in:
Christophe Deschamps 2024-10-14 13:20:04 +02:00
parent 2883b53ec5
commit 8b3abc7f6d

View file

@ -74,6 +74,7 @@ QSharedPointer<ParticipantDeviceCore> ParticipantDeviceList::getMe() const {
void ParticipantDeviceList::setDevices(QList<QSharedPointer<ParticipantDeviceCore>> devices) {
mustBeInMainThread(log().arg(Q_FUNC_INFO));
resetData();
add(devices);
lDebug() << log().arg("Add %1 devices").arg(devices.size());
}