proper namespaces for xep-0352
This commit is contained in:
parent
6d82a69ba3
commit
9de77b190b
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue