From adc78a8045c924b7ad4c455b6ef930eb5bb2c78c Mon Sep 17 00:00:00 2001
From: ababi <albert.babi@savoirfairelinux.com>
Date: Thu, 27 Aug 2020 09:27:25 +0200
Subject: [PATCH] mainview: fix crash when call is declined or hanged up

deleted unused calls to getCallId with empty id's

Gitlab: #30, #33
Change-Id: Id26b883907c6dd1e03ac9c12e7ebf8a8c8c2711b
---
 src/mainview/MainView.qml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/mainview/MainView.qml b/src/mainview/MainView.qml
index e3b2a52d1..c9511ce1f 100644
--- a/src/mainview/MainView.qml
+++ b/src/mainview/MainView.qml
@@ -170,10 +170,6 @@ Window {
 
         function onCloseCallStack(accountId, convUid) {
 
-            var responsibleCallId = ClientWrapper.utilsAdaptor.getCallId(
-                    callStackView.responsibleAccountId, callStackView.responsibleConvUid)
-            var callId = ClientWrapper.utilsAdaptor.getCallId(
-                    callStackView.responsibleAccountId, convUid)
             /*
              * Check if call stack view is on any of the stackview.
              */
-- 
GitLab