Commit 1871330d authored by Sébastien Blin's avatar Sébastien Blin

conversationmodel: update confId only if necessary

This avoid multiple reselection and client freezes

Change-Id: I73f5d933b6ce92e2b9557a1f62fc091c9fc16368
parent c5132486
......@@ -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};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment