summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--synapse/handlers/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index f909ea04f0..535ba9517c 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -81,7 +81,7 @@ class RoomCreationHandler(BaseHandler):
         user_id = requester.user.to_string()
 
         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:
             yield self.ratelimit(requester)