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

Check if a user is in the room before doing a kick on QUIT #1165

Merged
merged 2 commits into from
Oct 23, 2020

Conversation

Half-Shot
Copy link
Contributor

Fixes #1163

This change does a state lookup before kicking a user to determine if they should be kicked, as synapse will accept a (null) -> leave.

Copy link
Member

@jaywink jaywink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@Half-Shot Half-Shot merged commit 265bee7 into develop Oct 23, 2020
@Half-Shot Half-Shot deleted the hs/check-state-before-kick branch October 23, 2020 10:10
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.

Do not kick users who aren't in the room
2 participants