feat(xep): Replace DiscoError with StanzaError.
Signed-off-by: Ikjot Singh Dhody <ikjotsd@gmail.com>
This commit is contained in:
1 parent
9e70e802ef
commit
04dfc6d2ac
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user