diff options
author | Jess Porter <github@lolnerd.net> | 2022-05-13 12:17:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-13 12:17:38 +0100 |
commit | 39bed28b2843c79438d5cb51a6bb40e31c4420e7 (patch) | |
tree | 037959be843156319ec478c69623862a2455da1e /synapse/server.py | |
parent | Update issuer URL in example OIDC Keycloak config (#12727) (diff) | |
download | synapse-39bed28b2843c79438d5cb51a6bb40e31c4420e7.tar.xz |
SpamChecker metrics (#12513)
* add Measure blocks all over SpamChecker Signed-off-by: jesopo <github@lolnerd.net> * fix test_spam_checker_may_join_room and test_threepid_invite_spamcheck * better changelog entry
Diffstat (limited to 'synapse/server.py')
-rw-r--r-- | synapse/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/server.py b/synapse/server.py index 7daa7b9334..ee60cce8eb 100644 --- a/synapse/server.py +++ b/synapse/server.py @@ -681,7 +681,7 @@ class HomeServer(metaclass=abc.ABCMeta): @cache_in_self def get_spam_checker(self) -> SpamChecker: - return SpamChecker() + return SpamChecker(self) @cache_in_self def get_third_party_event_rules(self) -> ThirdPartyEventRules: |