Skip to content
Snippets Groups Projects
Commit 5295e4aa authored by Ming Rui Zhang's avatar Ming Rui Zhang
Browse files

contactadapter: do not hang up calls immediately after transferring

Gitlab: #353

Change-Id: I23d2e1cc57ce3a3a2b41972385c8318d9f85c904
parent b4ae1c3b
No related branches found
No related tags found
No related merge requests found
......@@ -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: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment