forked from mirrors/linphone-iphone
remove useless friend subscription
This commit is contained in:
parent
202e33a736
commit
47114c4c98
3 changed files with 3 additions and 11 deletions
|
|
@ -92,11 +92,6 @@
|
|||
}
|
||||
[instance.fastAddressBook fetchContactsInBackGroundThread];
|
||||
instance.fastAddressBook.needToUpdate = FALSE;
|
||||
const MSList *lists = linphone_core_get_friends_lists(LC);
|
||||
while (lists) {
|
||||
linphone_friend_list_update_subscriptions(lists->data);
|
||||
lists = lists->next;
|
||||
}
|
||||
}
|
||||
|
||||
LinphoneCall *call = linphone_core_get_current_call(LC);
|
||||
|
|
|
|||
|
|
@ -926,11 +926,7 @@
|
|||
}
|
||||
|
||||
[lm lpConfigSetInt:[self integerForKey:@"use_rls_presence"] forKey:@"use_rls_presence"];
|
||||
const MSList *lists = linphone_core_get_friends_lists(LC);
|
||||
while (lists) {
|
||||
linphone_friend_list_enable_subscriptions(lists->data, [self integerForKey:@"use_rls_presence"]);
|
||||
lists = lists->next;
|
||||
}
|
||||
linphone_core_enable_friend_list_subscription(LC, [self integerForKey:@"use_rls_presence"]);
|
||||
|
||||
BOOL firstloginview = [self boolForKey:@"enable_first_login_view_preference"];
|
||||
[lm lpConfigSetInt:firstloginview forKey:@"enable_first_login_view_preference"];
|
||||
|
|
|
|||
|
|
@ -2352,11 +2352,12 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) {
|
|||
[self iterate];
|
||||
}
|
||||
|
||||
/*linphone_core_enable_friend_list_subscription(LC, enabled && [LinphoneManager.instance lpConfigBoolForKey:@"use_rls_presence"]);
|
||||
const MSList *lists = linphone_core_get_friends_lists(LC);
|
||||
while (lists) {
|
||||
linphone_friend_list_enable_subscriptions(lists->data, enabled && [LinphoneManager.instance lpConfigBoolForKey:@"use_rls_presence"]);
|
||||
lists = lists->next;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
- (BOOL)enterBackgroundMode {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue