[Presence] refresh presence with enablepublish on new contact created

This commit is contained in:
Brieuc Viel 2016-09-15 12:36:20 +02:00
parent 74c2f77b97
commit cef2b02677

View file

@ -121,6 +121,8 @@
- (void)newContact:(NSString *)address {
[self selectContact:[[Contact alloc] initWithPerson:ABPersonCreate()] andReload:NO];
[self addCurrentContactContactField:address];
// force to restart server subscription to add new contact into the list
[LinphoneManager.instance becomeActive];
}
- (void)editContact:(Contact *)acontact {