add missing arguments

This commit is contained in:
Joe 2022-07-14 04:00:06 -05:00
parent 503ad78f30
commit 4daffd3da7
Signed by: joe
GPG Key ID: 8595A3F8F2CE1B74
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class AntiSpamRegistrationRegex:
check_registration_for_spam=self.check_registration_for_spam,
)
async def check_registration_for_spam(self, username):
async def check_registration_for_spam(self, email_threepid, username, request_info, auth_provider_id):
for name in self._blocked_usernames:
if name.search(username):
return synapse.spam_checker_api.RegistrationBehaviour.DENY # not allowed (spam)