aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/xmpp/stanzas/streammgmt
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-03 14:25:54 +0200
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-03 14:25:54 +0200
commit9d2d853e1b3b1f167be16ffe53530cbe83790ad1 (patch)
tree30bf686e174538b523343c7e90699d487da9aaf8 /src/eu/siacs/conversations/xmpp/stanzas/streammgmt
parent24d6e8615c4a21b8a3ea5f09e1006029d5aaa09e (diff)
fixed #27
Diffstat (limited to 'src/eu/siacs/conversations/xmpp/stanzas/streammgmt')
-rw-r--r--src/eu/siacs/conversations/xmpp/stanzas/streammgmt/EnablePacket.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/xmpp/stanzas/streammgmt/EnablePacket.java b/src/eu/siacs/conversations/xmpp/stanzas/streammgmt/EnablePacket.java
index ae6a513a..f6a0adb2 100644
--- a/src/eu/siacs/conversations/xmpp/stanzas/streammgmt/EnablePacket.java
+++ b/src/eu/siacs/conversations/xmpp/stanzas/streammgmt/EnablePacket.java
@@ -9,5 +9,11 @@ public class EnablePacket extends AbstractStanza {
this.setAttribute("xmlns","urn:xmpp:sm:3");
this.setAttribute("resume", "true");
}
+
+ public EnablePacket(String xmlns) {
+ super("enable");
+ this.setAttribute("xmlns",xmlns);
+ this.setAttribute("resume", "true");
+ }
}