aboutsummaryrefslogtreecommitdiff
path: root/juick-server-xmpp/src/main/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-06 10:02:36 +0300
committerGravatar Vitaly Takmazov2018-04-06 10:02:53 +0300
commitfc9ca692ed557b01e56fc0c765bb6a65db99059f (patch)
tree197bf28c6a3ceabcf54afa74cbfb7072655d1568 /juick-server-xmpp/src/main/java/com/juick
parent767aec7729a326ff1ccc225d8623a24dd1e698d5 (diff)
server: fix xmpp ft
Diffstat (limited to 'juick-server-xmpp/src/main/java/com/juick')
-rw-r--r--juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java2
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);
}