diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-08-29 12:21:29 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-08-30 09:22:05 +0200 |
commit | 9de77b190bc5f92bc2bcdf24ba060d09cc425277 (patch) | |
tree | 60c50d63a393892017d728c25a97583e321303ab /src | |
parent | 6d82a69ba367cc2efd34de3b22d1a76b0f583d95 (diff) |
proper namespaces for xep-0352
Diffstat (limited to 'src')
3 files changed, 3 insertions, 3 deletions
diff --git a/src/eu/siacs/conversations/xmpp/XmppConnection.java b/src/eu/siacs/conversations/xmpp/XmppConnection.java index 3fece781..9fd435d1 100644 --- a/src/eu/siacs/conversations/xmpp/XmppConnection.java +++ b/src/eu/siacs/conversations/xmpp/XmppConnection.java @@ -906,7 +906,7 @@ public class XmppConnection implements Runnable { if (connection.streamFeatures == null) { return false; } else { - return connection.streamFeatures.hasChild("csi"); + return connection.streamFeatures.hasChild("csi","urn:xmpp:csi:0"); } } diff --git a/src/eu/siacs/conversations/xmpp/stanzas/csi/ActivePacket.java b/src/eu/siacs/conversations/xmpp/stanzas/csi/ActivePacket.java index 6dd6b2e8..78ab66d8 100644 --- a/src/eu/siacs/conversations/xmpp/stanzas/csi/ActivePacket.java +++ b/src/eu/siacs/conversations/xmpp/stanzas/csi/ActivePacket.java @@ -5,6 +5,6 @@ import eu.siacs.conversations.xmpp.stanzas.AbstractStanza; public class ActivePacket extends AbstractStanza { public ActivePacket() { super("active"); - setAttribute("xmlns", "urn:xmpp:csi"); + setAttribute("xmlns", "urn:xmpp:csi:0"); } } diff --git a/src/eu/siacs/conversations/xmpp/stanzas/csi/InactivePacket.java b/src/eu/siacs/conversations/xmpp/stanzas/csi/InactivePacket.java index f3cf5ce0..f109280f 100644 --- a/src/eu/siacs/conversations/xmpp/stanzas/csi/InactivePacket.java +++ b/src/eu/siacs/conversations/xmpp/stanzas/csi/InactivePacket.java @@ -5,6 +5,6 @@ import eu.siacs.conversations.xmpp.stanzas.AbstractStanza; public class InactivePacket extends AbstractStanza { public InactivePacket() { super("inactive"); - setAttribute("xmlns", "urn:xmpp:csi"); + setAttribute("xmlns", "urn:xmpp:csi:0"); } } |