Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix room.leave event on MatrixClient emitter to emit when the bot is banned. #52

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Gnuxie
Copy link

@Gnuxie Gnuxie commented Feb 2, 2025

Checklist

  • Tests written for all new code
  • Linter has been satisfied
  • Sign-off given on the changes (see CONTRIBUTING.md)

Signed-off-by: Gnuxie Gnuxie@protonmail.com

I'm not sure wtf was going on with that if but i think it always
returned early no matter what, so i have changed it to do what
i think it is trying to do.

Ban events used to be ignored for sure.
If the client isn't alerted to leaving a room this can be pretty
serious and represents a flaw in the SDK.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant