From 9de77b190bc5f92bc2bcdf24ba060d09cc425277 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Fri, 29 Aug 2014 12:21:29 +0200 Subject: proper namespaces for xep-0352 --- src/eu/siacs/conversations/xmpp/XmppConnection.java | 2 +- src/eu/siacs/conversations/xmpp/stanzas/csi/ActivePacket.java | 2 +- src/eu/siacs/conversations/xmpp/stanzas/csi/InactivePacket.java | 2 +- 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"); } } -- cgit v1.2.3