mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-07 11:42:11 -04:00
Federation was passing strings anyway
so pass string everywhere
This commit is contained in:
parent
c46a0d7eb4
commit
c2c188b699
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ class RoomMemberHandler(BaseHandler):
|
||||||
)
|
)
|
||||||
block_invite = True
|
block_invite = True
|
||||||
|
|
||||||
if not self.spam_checker.user_may_invite(requester.user):
|
if not self.spam_checker.user_may_invite(requester.user.to_string()):
|
||||||
logger.info("Blocking invite due to spam checker")
|
logger.info("Blocking invite due to spam checker")
|
||||||
block_invite = True
|
block_invite = True
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue