From cef2b0267746292ff1d14f9281a331bcdd1ad6fb Mon Sep 17 00:00:00 2001 From: Brieuc Viel Date: Thu, 15 Sep 2016 12:36:20 +0200 Subject: [PATCH] [Presence] refresh presence with enablepublish on new contact created --- Classes/ContactDetailsView.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/ContactDetailsView.m b/Classes/ContactDetailsView.m index 89ee16740..71ecc55b2 100644 --- a/Classes/ContactDetailsView.m +++ b/Classes/ContactDetailsView.m @@ -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 {