Do not update friendList when app launched in background

This commit is contained in:
REIS Benjamin 2016-11-04 14:59:26 +01:00
parent 1d375c34f6
commit 06c0db6437

View file

@ -1655,8 +1655,8 @@ static LinphoneCoreVTable linphonec_vtable = {
linphone_core_enable_video_display(theLinphoneCore, FALSE);
linphone_core_enable_video_capture(theLinphoneCore, FALSE);
}
[self enableProxyPublish:YES];
[self enableProxyPublish:([UIApplication sharedApplication].applicationState == UIApplicationStateActive)];
LOGI(@"Linphone [%s] started on [%s]", linphone_core_get_version(), [[UIDevice currentDevice].model UTF8String]);