mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Add more delay to aggregation.
Remove double connections between participant and list.
This commit is contained in:
parent
5ceda97c00
commit
841f26f627
2 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue