From bb7b8ef32d3c5b0a421ec641564ade7ab6b09c31 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 29 Mar 2017 00:56:17 +0300 Subject: juick-notifications: no need to authenticate MPNS twice --- .../src/main/java/com/juick/components/Notifications.java | 1 - 1 file changed, 1 deletion(-) (limited to 'juick-notifications/src/main') 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 673ea402..74ca2bb7 100644 --- a/juick-notifications/src/main/java/com/juick/components/Notifications.java +++ b/juick-notifications/src/main/java/com/juick/components/Notifications.java @@ -67,7 +67,6 @@ public class Notifications implements NotificationClientListener, AutoCloseable @PostConstruct public void init() throws IOException { - mpnsClient.authenticate(); mpnsClient.setListener(this); xmpp.addInboundMessageListener(e -> { rocks.xmpp.core.stanza.model.Message msg = e.getMessage(); -- cgit v1.2.3