diff options
Diffstat (limited to 'juick-notifications/src')
-rw-r--r-- | juick-notifications/src/main/java/com/juick/components/Notifications.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-notifications/src/main/java/com/juick/components/Notifications.java b/juick-notifications/src/main/java/com/juick/components/Notifications.java index e7adac74..00f63136 100644 --- a/juick-notifications/src/main/java/com/juick/components/Notifications.java +++ b/juick-notifications/src/main/java/com/juick/components/Notifications.java @@ -203,7 +203,7 @@ public class Notifications implements AutoCloseable { } /*** iOS ***/ - List<String> tokens = tokensList.stream().filter(t -> t.getType().equals("mpns")) + List<String> tokens = tokensList.stream().filter(t -> t.getType().equals("apns")) .flatMap(t -> t.getTokens().stream()).collect(Collectors.toList()); if (!tokens.isEmpty()) { for (String token : tokens) { |