Federation was passing strings anyway

so pass string everywhere
pull/4/merge
David Baker 7 years ago
parent c46a0d7eb4
commit c2c188b699
  1. 2
      synapse/handlers/room_member.py

@ -224,7 +224,7 @@ class RoomMemberHandler(BaseHandler):
)
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")
block_invite = True

Loading…
Cancel
Save