aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/juick/xmpp/s2s/XMPPComponent.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java b/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java
index 9b8bb07e..21efaeab 100644
--- a/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java
+++ b/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java
@@ -195,7 +195,8 @@ public class XMPPComponent implements ServletContextListener, Stream.StreamListe
router.addChildParser(new JuickMessage());
router.addListener((Stream.StreamListener) this);
router.addListener((Message.MessageListener) this);
- router.addListener((Iq.IqListener) this);
+ router.addListener((Iq.IqListener) this);
+ executorService.submit(() -> router.startParsing());
executorService.submit(() -> {
router.startParsing();
executorService.submit(new CleaningUp(this));