marinofaggiana 5 years ago
parent
commit
9ca54b4b4f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      iOSClient/AppDelegate.m

+ 1 - 2
iOSClient/AppDelegate.m

@@ -555,7 +555,7 @@ PKPushRegistry *pushRegistry;
                             NSLog(@"Deleting Server Notification error: %ld", (long)errorCode);
                         }];
                         
-                    } else if (subject) {
+                    } else {
                         
                         NSURL *url = [NSURL URLWithString:result.url];
                         NSString *domain = [url host];
@@ -583,7 +583,6 @@ PKPushRegistry *pushRegistry;
                         UNNotificationRequest *request = [UNNotificationRequest requestWithIdentifier:identifier content:content trigger:trigger];
                     
                         [[UNUserNotificationCenter currentNotificationCenter] addNotificationRequest:request withCompletionHandler:nil];
-                        
                     }
                 }
             }