From d845327a561c46726fd9f06c9ead1c9fd8643ff4 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 6 Apr 2018 10:15:59 +0300 Subject: server: fix xmpp onboarding --- juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java | 3 +-- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3