From 1c2bc779f8fd1d6d2217b9c3e432983bd12c51ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Thu, 2 Nov 2017 12:18:50 -0400 Subject: [PATCH] call: don't stay on 'finished' state for a call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When a call is finished, lrc should select the call to emit showChatView. Change-Id: I50bd067d0ec037581e9b41fb52633c27caf6372f Reviewed-by: Nicolas Jäger <nicolas.jager@savoirfairelinux.com> --- src/conversationmodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conversationmodel.cpp b/src/conversationmodel.cpp index 9b16f87a..931f0257 100644 --- a/src/conversationmodel.cpp +++ b/src/conversationmodel.cpp @@ -973,6 +973,7 @@ ConversationModelPimpl::slotCallEnded(const std::string& callId) if (conversation.callId == callId) { conversation.callId = ""; dirtyConversations = true; + linked.selectConversation(conversation.uid); } } catch (std::out_of_range& e) { qDebug() << "ConversationModelPimpl::slotCallEnded can't end inexistant call"; -- GitLab