diff options
author | Vitaly Takmazov | 2018-04-06 10:02:36 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-04-06 10:02:53 +0300 |
commit | fc9ca692ed557b01e56fc0c765bb6a65db99059f (patch) | |
tree | 197bf28c6a3ceabcf54afa74cbfb7072655d1568 | |
parent | 767aec7729a326ff1ccc225d8623a24dd1e698d5 (diff) |
server: fix xmpp ft
-rw-r--r-- | juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java | 2 |
1 files changed, 1 insertions, 1 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 ffa145d9..a235d8b8 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 @@ -250,7 +250,7 @@ public class XMPPConnection implements StanzaListener, NotificationListener { logger.info("transfer completed"); try { Jid initiator = e.getInitiator(); - incomingMessageJuick(userService.getUserByJID(initiator.toEscapedString()), initiator, e.getDescription(), URI.create(String.format("juick://%s", targetFilename))); + incomingMessageJuick(userService.getUserByJID(initiator.asBareJid().toEscapedString()), initiator, e.getDescription(), URI.create(String.format("juick://%s", targetFilename))); } catch (Exception e1) { logger.error("ft error", e1); } |