aboutsummaryrefslogtreecommitdiff
path: root/juick-server-xmpp/src/main/java/com/juick/server
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-06 10:15:59 +0300
committerGravatar Vitaly Takmazov2018-04-06 10:15:59 +0300
commitd845327a561c46726fd9f06c9ead1c9fd8643ff4 (patch)
treea4be3a7d5e4d29cbad3501d34965faf23f68295d /juick-server-xmpp/src/main/java/com/juick/server
parentfc9ca692ed557b01e56fc0c765bb6a65db99059f (diff)
server: fix xmpp onboarding
Diffstat (limited to 'juick-server-xmpp/src/main/java/com/juick/server')
-rw-r--r--juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java b/juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java
index a235d8b8..7ea11216 100644
--- a/juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java
+++ b/juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java
@@ -203,8 +203,7 @@ public class XMPPConnection implements StanzaListener, NotificationListener {
0)).orElse(new User());
incomingMessageJuick(fromUser, from, message.getBody(), attachment);
} else {
- incomingMessageJuick(userService.getUserByJID(from.asBareJid().toEscapedString()), from,
- message.getBody(), attachment);
+ incomingMessage(message);
}
} catch (Exception e1) {
logger.warn("message exception", e1);