diff options
author | Travis Ralston <travpc@gmail.com> | 2019-10-31 09:16:14 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-31 09:16:14 -0600 |
commit | 3a74c03ffb5532831c8412b52a2d682bdeb9f322 (patch) | |
tree | 45158c6d80af3cc241aa1f645635b30aec9328ba /synapse/events | |
parent | Merge pull request #6307 from matrix-org/erikj/fix_purge_room (diff) | |
download | synapse-3a74c03ffb5532831c8412b52a2d682bdeb9f322.tar.xz |
Expose some homeserver functionality to spam checkers (#6259)
* Offer the homeserver instance to the spam checker * Newsfile * Linting * Expose a Spam Checker API instead of passing the homeserver object * Alter changelog * s/hs/api
Diffstat (limited to 'synapse/events')
-rw-r--r-- | synapse/events/spamcheck.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/synapse/events/spamcheck.py b/synapse/events/spamcheck.py |