aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-08-29 12:21:29 +0200
committeriNPUTmice <daniel@gultsch.de>2014-08-30 09:22:05 +0200
commit9de77b190bc5f92bc2bcdf24ba060d09cc425277 (patch)
tree60c50d63a393892017d728c25a97583e321303ab /src/eu/siacs
parent6d82a69ba367cc2efd34de3b22d1a76b0f583d95 (diff)
proper namespaces for xep-0352
Diffstat (limited to 'src/eu/siacs')
-rw-r--r--src/eu/siacs/conversations/xmpp/XmppConnection.java2
-rw-r--r--src/eu/siacs/conversations/xmpp/stanzas/csi/ActivePacket.java2
-rw-r--r--src/eu/siacs/conversations/xmpp/stanzas/csi/InactivePacket.java2
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");
}
}