fix 'Passage conférénce en call 1-1 puis pause iOS bug'

This commit is contained in:
Danmei Chen 2019-12-02 17:14:09 +01:00
parent a8a0804740
commit c2b6d44e29

View file

@ -222,7 +222,7 @@
LinphoneManager.instance.speakerBeforePause = LinphoneManager.instance.speakerEnabled;
linphone_call_pause((LinphoneCall *)call);
} else {
if (linphone_core_get_conference(LC)) {
if (linphone_core_get_conference(LC) && linphone_core_get_calls_nb(LC) > 1) {
linphone_core_enter_conference(LC);
[NSNotificationCenter.defaultCenter postNotificationName:kLinphoneCallUpdate object:self];
} else {