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

support ignoring invites silently for the synapse plugin #300

Closed
thestinger opened this issue May 29, 2022 · 3 comments
Closed

support ignoring invites silently for the synapse plugin #300

thestinger opened this issue May 29, 2022 · 3 comments

Comments

@thestinger
Copy link

Element implements ignoring invites by never handling them. This is useful because the people sending the invites don't know that the invite has been ignored. Mjolnir's synapse plugin always loudly rejects them which helps the people spamming by letting them know the invites weren't received, so they know they need to send new ones from new accounts not caught by the ban list, which could mean changing their username pattern or home server.

@H-Shay
Copy link
Contributor

H-Shay commented Jul 26, 2024

I think, looking at the code, that the rejection is actually handled in the synapse code - the mjolnir anti-spam module implements a user_may_invite function, but this function only returns a boolean to the synapse code that calls it. Thus I think that rejecting the invite silently would need to happen in synapse.

@H-Shay
Copy link
Contributor

H-Shay commented Jul 26, 2024

element-hq/synapse#17492

@turt2live
Copy link
Member

Closing in favour of upstream for now: element-hq/synapse#17492

@turt2live turt2live closed this as not planned Won't fix, can't repro, duplicate, stale Oct 1, 2024
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

No branches or pull requests

3 participants