diff options
author | Vitaly Takmazov | 2018-04-06 10:15:59 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-04-06 10:15:59 +0300 |
commit | d845327a561c46726fd9f06c9ead1c9fd8643ff4 (patch) | |
tree | a4be3a7d5e4d29cbad3501d34965faf23f68295d /juick-server-xmpp/src/main/java/com/juick | |
parent | fc9ca692ed557b01e56fc0c765bb6a65db99059f (diff) |
server: fix xmpp onboarding
Diffstat (limited to 'juick-server-xmpp/src/main/java/com/juick')
-rw-r--r-- | juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java | 3 |
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); |