aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-07-17 13:24:59 +0300
committerGravatar Vitaly Takmazov2018-07-17 13:24:59 +0300
commitc601197c9da88ff1972c4621ffc982f67222bacc (patch)
tree35fa0ead6184c0b6cc081a580dbc081c5f97ed9d /juick-server/src/main
parent84afbbaf9554b4ddf83ee47d1b511cd7ec8b97ca (diff)
XMPP: route messages over XMPPRouter/babbler component
Diffstat (limited to 'juick-server/src/main')
-rw-r--r--juick-server/src/main/java/com/juick/server/XMPPConnection.java5
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);