diff options
Diffstat (limited to 'juick-server-xmpp')
-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); |