Skip to content
Snippets Groups Projects
Unverified Commit 1871330d authored by Sébastien Blin's avatar Sébastien Blin
Browse files

conversationmodel: update confId only if necessary

This avoid multiple reselection and client freezes

Change-Id: I73f5d933b6ce92e2b9557a1f62fc091c9fc16368
parent c5132486
No related branches found
No related tags found
No related merge requests found
......@@ -1949,7 +1949,7 @@ void
ConversationModelPimpl::slotCallAddedToConference(const QString& callId, const QString& confId)
{
for (auto& conversation: conversations) {
if (conversation.callId == callId || conversation.confId == confId) {
if (conversation.callId == callId && conversation.confId != confId) {
conversation.confId = confId;
dirtyConversations = {true, true};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment