mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-31 10:19:23 +00:00
fix coding style
This commit is contained in:
parent
9f1e433284
commit
1501e16a03
1 changed files with 4 additions and 6 deletions
|
|
@ -2257,8 +2257,7 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) {
|
|||
if ([self lpConfigBoolForKey:@"publish_presence"]) {
|
||||
// set present to "tv", because "available" does not work yet
|
||||
if (enabled) {
|
||||
linphone_core_set_presence_model(
|
||||
LC, linphone_core_create_presence_model_with_activity(LC, LinphonePresenceActivityTV, NULL));
|
||||
linphone_core_set_presence_model(LC, linphone_core_create_presence_model_with_activity(LC, LinphonePresenceActivityTV, NULL));
|
||||
}
|
||||
|
||||
const MSList *proxies = linphone_core_get_proxy_config_list(LC);
|
||||
|
|
@ -2311,11 +2310,10 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) {
|
|||
&& bctbx_list_find_custom(callList, (bctbx_compare_func)comp_call_state_paused, NULL)) {
|
||||
[self startCallPausedLongRunningTask];
|
||||
}
|
||||
if (callList) {
|
||||
/*if at least one call exist, enter normal bg mode */
|
||||
if (callList) // If at least one call exist, enter normal bg mode
|
||||
shouldEnterBgMode = TRUE;
|
||||
}
|
||||
/*stop the video preview*/
|
||||
|
||||
// Stop the video preview
|
||||
if (theLinphoneCore) {
|
||||
linphone_core_enable_video_preview(theLinphoneCore, FALSE);
|
||||
[self iterate];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue