proper namespaces for xep-0352

This commit is contained in:
iNPUTmice 2014-08-29 12:21:29 +02:00
parent 6d82a69ba3
commit 9de77b190b
3 changed files with 3 additions and 3 deletions

View file

@ -906,7 +906,7 @@ public class XmppConnection implements Runnable {
if (connection.streamFeatures == null) { if (connection.streamFeatures == null) {
return false; return false;
} else { } else {
return connection.streamFeatures.hasChild("csi"); return connection.streamFeatures.hasChild("csi","urn:xmpp:csi:0");
} }
} }

View file

@ -5,6 +5,6 @@ import eu.siacs.conversations.xmpp.stanzas.AbstractStanza;
public class ActivePacket extends AbstractStanza { public class ActivePacket extends AbstractStanza {
public ActivePacket() { public ActivePacket() {
super("active"); super("active");
setAttribute("xmlns", "urn:xmpp:csi"); setAttribute("xmlns", "urn:xmpp:csi:0");
} }
} }

View file

@ -5,6 +5,6 @@ import eu.siacs.conversations.xmpp.stanzas.AbstractStanza;
public class InactivePacket extends AbstractStanza { public class InactivePacket extends AbstractStanza {
public InactivePacket() { public InactivePacket() {
super("inactive"); super("inactive");
setAttribute("xmlns", "urn:xmpp:csi"); setAttribute("xmlns", "urn:xmpp:csi:0");
} }
} }