diff --git a/synapse_antispam/mjolnir/antispam.py b/synapse_antispam/mjolnir/antispam.py index dc1e5a3..f0fdadf 100644 --- a/synapse_antispam/mjolnir/antispam.py +++ b/synapse_antispam/mjolnir/antispam.py @@ -115,7 +115,7 @@ class AntiSpam(object): def user_may_publish_room(self, user_id, room_id): return True # allowed - def check_for_banned_user(self, user_id, display_name): + def check_username_for_spam(self, user_id, display_name): # Check whether the user ID or display name matches any of the banned # patterns. return self.is_user_banned(user_id) or self.is_user_banned(display_name)