From 8b937f5749c7d6156a42f1ca9eef29c08bd81efb Mon Sep 17 00:00:00 2001 From: Danmei Chen Date: Mon, 29 Apr 2019 17:16:30 +0200 Subject: [PATCH] not resume the call automatically --- Classes/PhoneMainView.m | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Classes/PhoneMainView.m b/Classes/PhoneMainView.m index e03787da7..167dc6a9b 100644 --- a/Classes/PhoneMainView.m +++ b/Classes/PhoneMainView.m @@ -423,17 +423,7 @@ static RootViewManager *rootViewManagerInstance = nil; [self popCurrentView]; } } else { - linphone_call_resume((LinphoneCall *)calls->data); - while (calls) { - if (calls->next) { - [self changeCurrentView:CallView.compositeViewDescription]; - break; - } - calls = calls->next; - } - if (calls == NULL) { - [self changeCurrentView:CallView.compositeViewDescription]; - } + [self changeCurrentView:CallView.compositeViewDescription]; } break; }