From 406fad0c8af96323d2f39876dfb179787bf7cacd Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 23 May 2022 14:02:24 +0000 Subject: [PATCH] don't pull in legacy spamchecker modules --- synapse/events/spamcheck.py | 1 - 1 file changed, 1 deletion(-) diff --git a/synapse/events/spamcheck.py b/synapse/events/spamcheck.py index 298465ac783f..61bcbe2abe60 100644 --- a/synapse/events/spamcheck.py +++ b/synapse/events/spamcheck.py @@ -97,7 +97,6 @@ def load_legacy_spam_checkers(hs: "synapse.server.HomeServer") -> None: # which name appears in this set, we'll want to register it. spam_checker_methods = { "check_event_for_spam", - "drop_federated_event", "user_may_invite", "user_may_create_room", "user_may_create_room_alias",