diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-11-10 01:24:35 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-11-10 01:24:35 +0100 |
commit | 89ee999e1b969a935d5b8ae9d7155ca9afe96389 (patch) | |
tree | 3658c68b199eb7e325c0ebd7810381d078a9859f /src/main/java/eu/siacs/conversations/xmpp | |
parent | 26b4788733d9e9e5267bb6b54bb847757c7c25e5 (diff) |
more refactoring for presence selection. removed getTo, getFrom and getJid from Element
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/xmpp/jingle/JingleCandidate.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleCandidate.java b/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleCandidate.java index 9a0306fcd..281ea3ca3 100644 --- a/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleCandidate.java +++ b/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleCandidate.java @@ -109,7 +109,7 @@ public class JingleCandidate { JingleCandidate parsedCandidate = new JingleCandidate( candidate.getAttribute("cid"), false); parsedCandidate.setHost(candidate.getAttribute("host")); - parsedCandidate.setJid(candidate.getJid()); + parsedCandidate.setJid(candidate.getAttributeAsJid("jid")); parsedCandidate.setType(candidate.getAttribute("type")); parsedCandidate.setPriority(Integer.parseInt(candidate .getAttribute("priority"))); |