Add more delay to aggregation.

Remove double connections between participant and list.
This commit is contained in:
Julien Wadel 2022-07-13 16:58:22 +02:00
parent 5ceda97c00
commit 841f26f627
2 changed files with 1 additions and 4 deletions

View file

@ -8,5 +8,5 @@ ec_filter=MSWebRTCAEC
record_aware=1
[sip]
chat_messages_aggregation_delay=500
chat_messages_aggregation_delay=1000
chat_messages_aggregation=1

View file

@ -175,9 +175,6 @@ void ParticipantListModel::updateParticipants () {
}
if( itParticipant == mList.end()){
auto participant = QSharedPointer<ParticipantModel>::create(dbParticipant);
connect(this, &ParticipantListModel::deviceSecurityLevelChanged, participant.get(), &ParticipantModel::onDeviceSecurityLevelChanged);
connect(this, &ParticipantListModel::securityLevelChanged, participant.get(), &ParticipantModel::onSecurityLevelChanged);
connect(participant.get(),&ParticipantModel::updateAdminStatus, this, &ParticipantListModel::setAdminStatus);
add(participant);
changed = true;
}else if(!itParticipant->objectCast<ParticipantModel>()->getParticipant() || itParticipant->objectCast<ParticipantModel>()->getParticipant() != dbParticipant){