Fix no network on push received

This commit is contained in:
Guillaume BIENKOWSKI 2014-07-08 11:49:37 +02:00
parent 84efdb1a7b
commit 862a6dee1b

View file

@ -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];