Avoid participants duplication upon merging calls
This commit is contained in:
parent
2883b53ec5
commit
8b3abc7f6d
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ QSharedPointer<ParticipantDeviceCore> ParticipantDeviceList::getMe() const {
|
||||||
|
|
||||||
void ParticipantDeviceList::setDevices(QList<QSharedPointer<ParticipantDeviceCore>> devices) {
|
void ParticipantDeviceList::setDevices(QList<QSharedPointer<ParticipantDeviceCore>> devices) {
|
||||||
mustBeInMainThread(log().arg(Q_FUNC_INFO));
|
mustBeInMainThread(log().arg(Q_FUNC_INFO));
|
||||||
|
resetData();
|
||||||
add(devices);
|
add(devices);
|
||||||
lDebug() << log().arg("Add %1 devices").arg(devices.size());
|
lDebug() << log().arg("Add %1 devices").arg(devices.size());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue