diff options
author | Vitaly Takmazov | 2018-07-17 13:24:59 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-07-17 13:24:59 +0300 |
commit | c601197c9da88ff1972c4621ffc982f67222bacc (patch) | |
tree | 35fa0ead6184c0b6cc081a580dbc081c5f97ed9d /juick-server/src/main/java/com/juick/server/XMPPConnection.java | |
parent | 84afbbaf9554b4ddf83ee47d1b511cd7ec8b97ca (diff) |
XMPP: route messages over XMPPRouter/babbler component
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/XMPPConnection.java')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/XMPPConnection.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/juick-server/src/main/java/com/juick/server/XMPPConnection.java b/juick-server/src/main/java/com/juick/server/XMPPConnection.java index cbc4d54b..701a7d5b 100644 --- a/juick-server/src/main/java/com/juick/server/XMPPConnection.java +++ b/juick-server/src/main/java/com/juick/server/XMPPConnection.java @@ -630,10 +630,7 @@ public class XMPPConnection implements StanzaListener, NotificationListener { } } else if (xmlValue instanceof Message) { Message msg = (Message) xmlValue; - ClientMessage result = incomingMessage(msg); - if (result != null) { - router.send(result); - } + router.send(msg); } else if (xmlValue instanceof IQ) { IQ iq = (IQ) xmlValue; router.send(iq); |