Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Apply recent changes to module callbacks and the spam checker API #110

Closed
wants to merge 5 commits into from

Conversation

babolivier and others added 4 commits November 8, 2021 16:12
…vites (#10898)

This is in the context of creating new module callbacks that modules in https://github.com/matrix-org/synapse-dinsic can use, in an effort to reconcile the spam checker API in synapse-dinsic with the one in mainline.

This adds a callback that's fairly similar to user_may_create_room except it also allows processing based on the invites sent at room creation.
Co-authored-by: Erik Johnston <erik@matrix.org>
This is in the context of creating new module callbacks that modules in https://github.com/matrix-org/synapse-dinsic can use, in an effort to reconcile the spam checker API in synapse-dinsic with the one in mainline.

Note that a module callback already exists for 3pid invites (https://matrix-org.github.io/synapse/develop/modules/third_party_rules_callbacks.html#check_threepid_can_be_invited) but it doesn't check whether the sender of the invite is allowed to send it.
@babolivier babolivier requested a review from a team November 8, 2021 15:21
@babolivier
Copy link
Contributor Author

This turned out to be a mess, so I've reopened #108

@babolivier babolivier closed this Nov 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant