diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-11-09 16:21:13 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-11-09 16:21:13 +0100 |
commit | 377bd49ee807b9a06089ad5612ca15b9b00f2e36 (patch) | |
tree | 225e53c77c11377b4e64d65b5f33cf9c0c0858e6 /src/main/java/eu/siacs/conversations/xmpp/jingle/JingleConnection.java | |
parent | 2b99b694eb25ed6ea82563d8a352be774ecc88d2 (diff) |
refactored code to always contain full jid for counterpart
Diffstat (limited to 'src/main/java/eu/siacs/conversations/xmpp/jingle/JingleConnection.java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/xmpp/jingle/JingleConnection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleConnection.java b/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleConnection.java index a863775d7..6647c5ba4 100644 --- a/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleConnection.java +++ b/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleConnection.java @@ -262,7 +262,7 @@ public class JingleConnection implements Downloadable { this.mStatus = Downloadable.STATUS_OFFER; this.message.setDownloadable(this); final Jid from = packet.getFrom(); - this.message.setPresence(from.isBareJid() ? "" : from.getResourcepart()); + this.message.setCounterpart(from); this.account = account; this.initiator = packet.getFrom(); this.responder = this.account.getFullJid(); |