xmpp: Do not bounce result IQs

This commit is contained in:
PapaTutuWawa 2022-08-17 19:28:32 +02:00
parent dae5933e1d
commit 7768277552

View File

@ -2,7 +2,7 @@ import 'package:moxxyv2/xmpp/connection.dart';
import 'package:moxxyv2/xmpp/stanza.dart';
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'));
}