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

No membership event in check_event_for_spam #16855

Open
Ezanor opened this issue Jan 25, 2024 · 1 comment
Open

No membership event in check_event_for_spam #16855

Ezanor opened this issue Jan 25, 2024 · 1 comment

Comments

@Ezanor
Copy link

Ezanor commented Jan 25, 2024

Description

Hi,

I was working on the check_event_for_spam callback, i just saw that no membership event is going through this callback.
I saw that in multiples servers. My servers using multiples workers/loadbalencing.
Is that normal ?

I know that user_may_invite/join exist but in my case i also need to get the leave event for exemple.

Steps to reproduce

-Send invite, leave or join event into a room

Homeserver

unfederated homeserver

Synapse Version

{"server_version":"1.97.0"}

Installation Method

pip (from PyPI)

Database

postgreSQL

Workers

Multiple workers

Platform

VM Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-150-generic x86_64)

Configuration

No response

Relevant log output

No log from my check_event_for_spam when membership event.

Anything else that would be useful to know?

No response

@reivilibre
Copy link
Contributor

reivilibre commented Jan 30, 2024

I think we noticed this recently, so it's not just you. It looks like it isn't obvious from the documentation, so this should either be fixed or documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants