From 28476a01d5c787e5acd12977f7e49bfaf11dd6fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Blin?=
 <sebastien.blin@savoirfairelinux.com>
Date: Mon, 27 Mar 2023 09:48:28 -0400
Subject: [PATCH] callmodel: emit currentCall changed

Else, because we show the incomingCallView, the currentCall may
be different to what we show

Change-Id: I8d996df5db22a8b2cb4a69ed070c278c08816b07
---
 src/libclient/callmodel.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/libclient/callmodel.cpp b/src/libclient/callmodel.cpp
index e475eb4af..530458d6b 100644
--- a/src/libclient/callmodel.cpp
+++ b/src/libclient/callmodel.cpp
@@ -1739,8 +1739,7 @@ CallModelPimpl::slotConferenceChanged(const QString& accountId,
         if (call == currentCall_)
             currentCall_ = confId;
     }
-    if (currentCallId != currentCall_)
-        Q_EMIT linked.currentCallChanged(confId);
+    Q_EMIT linked.currentCallChanged(currentCall_);
 }
 
 void
-- 
GitLab