aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/xmpp/jingle/stanzas/JinglePacket.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-11 21:13:09 +0200
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-11 21:13:09 +0200
commitc0e0a7086902a9d5cfbe88c4aa220abdf2ee3dde (patch)
tree0dc00906f723d0e2ad2894a711992af03ea12f21 /src/eu/siacs/conversations/xmpp/jingle/stanzas/JinglePacket.java
parent51100ab48b94c55f8cce981c422e50a607f261ad (diff)
socks5 initialisation works. doesn't get activate though
Diffstat (limited to 'src/eu/siacs/conversations/xmpp/jingle/stanzas/JinglePacket.java')
-rw-r--r--src/eu/siacs/conversations/xmpp/jingle/stanzas/JinglePacket.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/xmpp/jingle/stanzas/JinglePacket.java b/src/eu/siacs/conversations/xmpp/jingle/stanzas/JinglePacket.java
index bd912ea3..83f0aec6 100644
--- a/src/eu/siacs/conversations/xmpp/jingle/stanzas/JinglePacket.java
+++ b/src/eu/siacs/conversations/xmpp/jingle/stanzas/JinglePacket.java
@@ -33,6 +33,13 @@ public class JinglePacket extends IqPacket {
return this;
}
+ public Content getJingleContent() {
+ if (this.content==null) {
+ this.content = new Content();
+ }
+ return this.content;
+ }
+
public JinglePacket setReason(Reason reason) {
this.reason = reason;
return this;