summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2015-04-21 21:07:35 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2015-04-21 21:07:35 +0100
commit48b6ee2b67ad4f8bce9774267f863e45192f67d4 (patch)
tree22302023b9a6673f755c31512866aab39e135415 /synapse
parentInitial implementation of an 'invite' power_level (diff)
downloadsynapse-48b6ee2b67ad4f8bce9774267f863e45192f67d4.tar.xz
Create an 'invite' powerlevel when making new rooms
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/room.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index f9fc4a9c98..1226b23bc7 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -213,7 +213,8 @@ class RoomCreationHandler(BaseHandler):
                 "state_default": 50,
                 "ban": 50,
                 "kick": 50,
-                "redact": 50
+                "redact": 50,
+                "invite": 0,
             },
         )