un-double indent

This commit is contained in:
David Baker 2017-10-04 12:44:27 +01:00
parent 197c14dbcf
commit 78d4ced829

View File

@ -81,7 +81,7 @@ class RoomCreationHandler(BaseHandler):
user_id = requester.user.to_string() user_id = requester.user.to_string()
if not self.spam_checker.user_may_create_room(user_id): if not self.spam_checker.user_may_create_room(user_id):
raise SynapseError(403, "You are not permitted to create rooms") raise SynapseError(403, "You are not permitted to create rooms")
if ratelimit: if ratelimit:
yield self.ratelimit(requester) yield self.ratelimit(requester)