mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 12:36:25 +00:00
[Presence] refresh presence with enablepublish on new contact created
This commit is contained in:
parent
74c2f77b97
commit
cef2b02677
1 changed files with 2 additions and 0 deletions
|
|
@ -121,6 +121,8 @@
|
||||||
- (void)newContact:(NSString *)address {
|
- (void)newContact:(NSString *)address {
|
||||||
[self selectContact:[[Contact alloc] initWithPerson:ABPersonCreate()] andReload:NO];
|
[self selectContact:[[Contact alloc] initWithPerson:ABPersonCreate()] andReload:NO];
|
||||||
[self addCurrentContactContactField:address];
|
[self addCurrentContactContactField:address];
|
||||||
|
// force to restart server subscription to add new contact into the list
|
||||||
|
[LinphoneManager.instance becomeActive];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)editContact:(Contact *)acontact {
|
- (void)editContact:(Contact *)acontact {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue