From 93418f0127e6b140b5d1d57e4ce050fc65888e36 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sat, 29 Jul 2023 19:27:40 +0200 Subject: [PATCH] fix(xep): Fix missing handling of StanzaError Fixes #48. --- packages/moxxmpp/lib/src/xeps/xep_0115.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/moxxmpp/lib/src/xeps/xep_0115.dart b/packages/moxxmpp/lib/src/xeps/xep_0115.dart index ab6f2ea..82a3007 100644 --- a/packages/moxxmpp/lib/src/xeps/xep_0115.dart +++ b/packages/moxxmpp/lib/src/xeps/xep_0115.dart @@ -205,7 +205,7 @@ class EntityCapabilitiesManager extends XmppManagerBase { from, node: capabilityNode, ); - if (discoRequest.isType()) { + if (discoRequest.isType()) { return state; } final discoInfo = discoRequest.get();