xmpp: Fix CSI commands not being sent

This commit is contained in:
PapaTutuWawa 2022-07-27 19:23:03 +02:00
parent 6b91b744a2
commit 73acacdceb
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ class RosterPushEvent extends XmppEvent {
/// A Stub feature negotiator for finding out whether roster versioning is supported.
class RosterFeatureNegotiator extends XmppFeatureNegotiatorBase {
RosterFeatureNegotiator() : _supported = false, super(0, false, rosterVersioningXmlns, rosterNegotiator);
RosterFeatureNegotiator() : _supported = false, super(11, false, rosterVersioningXmlns, rosterNegotiator);
/// True if rosterVersioning is supported. False otherwise.
bool _supported;

View File

@ -25,7 +25,7 @@ class CSIInactiveNonza extends XMLNode {
/// A Stub negotiator that is just for "intercepting" the stream feature.
class CSINegotiator extends XmppFeatureNegotiatorBase {
CSINegotiator() : _supported = false, super(0, false, csiXmlns, csiNegotiator);
CSINegotiator() : _supported = false, super(11, false, csiXmlns, csiNegotiator);
/// True if CSI is supported. False otherwise.
bool _supported;