aboutsummaryrefslogtreecommitdiff
path: root/juick-notifications/src/main/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-03-29 00:56:17 +0300
committerGravatar Vitaly Takmazov2017-03-29 00:56:17 +0300
commitbb7b8ef32d3c5b0a421ec641564ade7ab6b09c31 (patch)
treeeaedfdf3dc11fd3a4a093071740b605397307374 /juick-notifications/src/main/java/com/juick
parent0e74fe51b55080929650f0ff6adbfc4539ac10b4 (diff)
juick-notifications: no need to authenticate MPNS twice
Diffstat (limited to 'juick-notifications/src/main/java/com/juick')
-rw-r--r--juick-notifications/src/main/java/com/juick/components/Notifications.java1
1 files changed, 0 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 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();