xmpp: Do not bounce result IQs
This commit is contained in:
1 parent
dae5933e1d
commit
7768277552
1 file changed
+1
-1
+1
-1
@@ -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'));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user