1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-25 07:42:06 +01:00

Add QName field in OriginIdElement

This commit is contained in:
Paul Schaub 2020-07-03 00:24:05 +02:00
parent 0eeb89409a
commit 00acdfcb9e
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -16,6 +16,8 @@
*/ */
package org.jivesoftware.smackx.sid.element; package org.jivesoftware.smackx.sid.element;
import javax.xml.namespace.QName;
import org.jivesoftware.smack.packet.Message; import org.jivesoftware.smack.packet.Message;
import org.jivesoftware.smack.packet.MessageBuilder; import org.jivesoftware.smack.packet.MessageBuilder;
import org.jivesoftware.smack.util.XmlStringBuilder; import org.jivesoftware.smack.util.XmlStringBuilder;
@ -25,6 +27,8 @@ import org.jivesoftware.smackx.sid.StableUniqueStanzaIdManager;
public class OriginIdElement extends StableAndUniqueIdElement { public class OriginIdElement extends StableAndUniqueIdElement {
public static final String ELEMENT = "origin-id"; public static final String ELEMENT = "origin-id";
public static final String NAMESPACE = StableUniqueStanzaIdManager.NAMESPACE;
public static final QName QNAME = new QName(NAMESPACE, ELEMENT);
public OriginIdElement() { public OriginIdElement() {
super(); super();