fix(xep): Make leaving the room non-awaitable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
64b93b536e
commit
c3088f9046
@ -207,7 +207,7 @@ class MUCManager extends XmppManagerBase {
|
||||
return nick;
|
||||
});
|
||||
if (nick == null) {
|
||||
return Result(RoomNotJoinedError);
|
||||
return Result(RoomNotJoinedError());
|
||||
}
|
||||
await getAttributes().sendStanza(
|
||||
StanzaDetails(
|
||||
@ -215,6 +215,7 @@ class MUCManager extends XmppManagerBase {
|
||||
to: roomJid.withResource(nick).toString(),
|
||||
type: 'unavailable',
|
||||
),
|
||||
awaitable: false,
|
||||
),
|
||||
);
|
||||
return const Result(true);
|
||||
|
Loading…
Reference in New Issue
Block a user