xmpp: Do not bounce result IQs
This commit is contained in:
parent
dae5933e1d
commit
7768277552
@ -2,7 +2,7 @@ import 'package:moxxyv2/xmpp/connection.dart';
|
|||||||
import 'package:moxxyv2/xmpp/stanza.dart';
|
import 'package:moxxyv2/xmpp/stanza.dart';
|
||||||
|
|
||||||
bool handleUnhandledStanza(XmppConnection conn, Stanza stanza) {
|
bool handleUnhandledStanza(XmppConnection conn, Stanza stanza) {
|
||||||
if (stanza.type != 'error') {
|
if (stanza.type != 'error' && stanza.type != 'result') {
|
||||||
conn.sendStanza(stanza.errorReply('cancel', 'feature-not-implemented'));
|
conn.sendStanza(stanza.errorReply('cancel', 'feature-not-implemented'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user