fix(xep): Fix missing handling of StanzaError

Fixes #48.
This commit is contained in:
PapaTutuWawa committed 2023-07-29 19:27:40 +02:00
1 parent 1e7279e23b
commit 93418f0127
1 file changed
+1 -1
+1 -1
View File
@@ -205,7 +205,7 @@ class EntityCapabilitiesManager extends XmppManagerBase {
from,
node: capabilityNode,
);
if (discoRequest.isType<DiscoError>()) {
if (discoRequest.isType<StanzaError>()) {
return state;
}
final discoInfo = discoRequest.get<DiscoInfo>();