From 862a6dee1b28a62ff81181eed799e487b901dd01 Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Tue, 8 Jul 2014 11:49:37 +0200 Subject: [PATCH] Fix no network on push received --- Classes/LinphoneAppDelegate.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m index 03e5fe394..c2db65be7 100644 --- a/Classes/LinphoneAppDelegate.m +++ b/Classes/LinphoneAppDelegate.m @@ -230,6 +230,7 @@ if (linphone_core_get_calls(lc)==NULL){ //if there are calls, obviously our TCP socket shall be working linphone_core_set_network_reachable(lc, FALSE); [LinphoneManager instance].connectivity=none; /*force connectivity to be discovered again*/ + [[LinphoneManager instance] refreshRegisters]; if(loc_key != nil) { if([loc_key isEqualToString:@"IM_MSG"]) { [[PhoneMainView instance] addInhibitedEvent:kLinphoneTextReceived];