summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-09-23 17:36:17 +0100
committerErik Johnston <erik@matrix.org>2014-09-23 17:36:24 +0100
commitbc250a6afa68b7584f3b7b3aacb919df406da75a (patch)
treedb6bfd1b559eadcb70e742f5df0b4531d6ed17ff /synapse/handlers/room.py
parentAdd prune_event method (diff)
downloadsynapse-bc250a6afa68b7584f3b7b3aacb919df406da75a.tar.xz
SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops levels event
SYN-12 # comment Auth has been added.
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r--synapse/handlers/room.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 5bc1280432..18597c694d 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -255,6 +255,7 @@ class RoomCreationHandler(BaseHandler):
             etype=RoomOpsPowerLevelsEvent.TYPE,
             ban_level=50,
             kick_level=50,
+            delete_level=50,
         )
 
         return [