From 04dfc6d2acd1a322d06a3be32144b0a5d795ccb9 Mon Sep 17 00:00:00 2001 From: Ikjot Singh Dhody Date: Fri, 30 Jun 2023 18:33:00 +0530 Subject: [PATCH] feat(xep): Replace DiscoError with StanzaError. Signed-off-by: Ikjot Singh Dhody --- packages/moxxmpp/lib/src/xeps/xep_0045/xep_0045.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/moxxmpp/lib/src/xeps/xep_0045/xep_0045.dart b/packages/moxxmpp/lib/src/xeps/xep_0045/xep_0045.dart index 6886f0b..64a5976 100644 --- a/packages/moxxmpp/lib/src/xeps/xep_0045/xep_0045.dart +++ b/packages/moxxmpp/lib/src/xeps/xep_0045/xep_0045.dart @@ -35,7 +35,7 @@ class MUCManager extends XmppManagerBase { final result = await getAttributes() .getManagerById(discoManager)! .discoInfoQuery(roomJID); - if (result.isType()) { + if (result.isType()) { return Result(InvalidStanzaFormat()); } try {