feat(xep): Replace DiscoError with StanzaError.

Signed-off-by: Ikjot Singh Dhody <ikjotsd@gmail.com>
This commit is contained in:
Ikjot Singh Dhody 2023-06-30 18:33:00 +05:30
parent 9e70e802ef
commit 04dfc6d2ac

View File

@ -35,7 +35,7 @@ class MUCManager extends XmppManagerBase {
final result = await getAttributes()
.getManagerById<DiscoManager>(discoManager)!
.discoInfoQuery(roomJID);
if (result.isType<DiscoError>()) {
if (result.isType<StanzaError>()) {
return Result(InvalidStanzaFormat());
}
try {