mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-16 22:05:07 -05:00
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) {
|
||||
return false;
|
||||
} 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 ActivePacket() {
|
||||
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 InactivePacket() {
|
||||
super("inactive");
|
||||
setAttribute("xmlns", "urn:xmpp:csi");
|
||||
setAttribute("xmlns", "urn:xmpp:csi:0");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user