From 5295e4aa5b9081392bc345568469023fc62431a2 Mon Sep 17 00:00:00 2001
From: Ming Rui Zhang <mingrui.zhang@savoirfairelinux.com>
Date: Wed, 24 Mar 2021 13:57:59 -0400
Subject: [PATCH] contactadapter: do not hang up calls immediately after
 transferring

Gitlab: #353

Change-Id: I23d2e1cc57ce3a3a2b41972385c8318d9f85c904
---
 src/contactadapter.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/contactadapter.cpp b/src/contactadapter.cpp
index 3ddc0c59c..b62bba70f 100644
--- a/src/contactadapter.cpp
+++ b/src/contactadapter.cpp
@@ -165,11 +165,8 @@ ContactAdapter::contactSelected(int index)
             // If there is a second call -> attended transfer.
             if (destCallId.size() == 0) {
                 callModel->transfer(callId, "sip:" + contactUri);
-                callModel->hangUp(callId);
             } else {
                 callModel->transferToCall(callId, destCallId);
-                callModel->hangUp(callId);
-                callModel->hangUp(destCallId);
             }
         } break;
         case SmartListModel::Type::CONVERSATION: {
-- 
GitLab