From 9d2d853e1b3b1f167be16ffe53530cbe83790ad1 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 3 Apr 2014 14:25:54 +0200 Subject: fixed #27 --- .../siacs/conversations/xmpp/stanzas/streammgmt/EnablePacket.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/eu/siacs/conversations/xmpp/stanzas/streammgmt') 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"); + } } -- cgit v1.2.3