1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 12:03:18 +02:00

contactadapter: do not hang up calls immediately after transferring

Gitlab: #353

Change-Id: I23d2e1cc57ce3a3a2b41972385c8318d9f85c904
This commit is contained in:
Ming Rui Zhang 2021-03-24 13:57:59 -04:00
parent b4ae1c3b68
commit 5295e4aa5b

View file

@ -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: {