mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 21:26:03 -04:00
pass room id too
This commit is contained in:
parent
c2c188b699
commit
1e375468de
3 changed files with 6 additions and 4 deletions
|
@ -224,7 +224,9 @@ class RoomMemberHandler(BaseHandler):
|
|||
)
|
||||
block_invite = True
|
||||
|
||||
if not self.spam_checker.user_may_invite(requester.user.to_string()):
|
||||
if not self.spam_checker.user_may_invite(
|
||||
requester.user.to_string(), room_id,
|
||||
):
|
||||
logger.info("Blocking invite due to spam checker")
|
||||
block_invite = True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue