From 5982b8cb6dc2cf94e040fe8ecb9fe70bd4571368 Mon Sep 17 00:00:00 2001 From: Danmei Chen Date: Mon, 30 Mar 2020 16:07:40 +0200 Subject: [PATCH] remove useless code --- Classes/LinphoneAppDelegate.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m index 28f60b221..e0d5af741 100644 --- a/Classes/LinphoneAppDelegate.m +++ b/Classes/LinphoneAppDelegate.m @@ -167,7 +167,7 @@ if (num > 2) { LOGW(@"[PushKit] unexpected pushkit notifications received %d, please clean your sip account.", num); } - [[UIApplication sharedApplication] unregisterForRemoteNotifications]; + // Register for remote notifications. LOGI(@"[APNs] register for push notif"); [[UIApplication sharedApplication] registerForRemoteNotifications];