From 31eb48182cb9b2382996671c884c52cffe683fa3 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 27 Mar 2017 02:14:40 +0300 Subject: juick-notifications: fix typo --- .../src/main/java/com/juick/components/Notifications.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-notifications/src') 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 tokens = tokensList.stream().filter(t -> t.getType().equals("mpns")) + List tokens = tokensList.stream().filter(t -> t.getType().equals("apns")) .flatMap(t -> t.getTokens().stream()).collect(Collectors.toList()); if (!tokens.isEmpty()) { for (String token : tokens) { -- cgit v1.2.3