element-hq / element-hq/synapse

Extend SpamCheck API?

Open
#10,311 0 comments 0 reactions 0 assignees View on GitHub
A-Moderation T-Enhancement
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#10311](https://github.com/matrix-org/synapse/issues/10311).

---

Recent experience suggests that we would benefit from having some more details about messages (and invite requests, etc.) to determine whether a request is spam.

- We have the IP of the user during registrations. But if we only detected that the IP is used for spam *after* registration, we can't block them through the antispam. Ideally, the antispam should have access to both registration IP and current IP, assuming that the user is on the current antispam.
- Some antispams may wish to apply policies such as "can't invite if you have just registered", etc. So, having access to information on when the user has registered would be useful.
- Similarly, how many messages they have already sent that weren't picked as spam.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.