summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-07-06 13:09:16 +0100
committerErik Johnston <erik@matrix.org>2015-07-06 13:25:35 +0100
commit1a3255b507550c76f11251c890a43947b1f4e272 (patch)
treeea656a0697b96a8fde6a0fe91a559d2f2d002aef /synapse/handlers/room.py
parentRename key and values for m.room.history_visibility. Support 'invited' value (diff)
downloadsynapse-1a3255b507550c76f11251c890a43947b1f4e272.tar.xz
Add m.room.history_visibility to newly created rooms' m.room.power_levels
Diffstat (limited to '')
-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 4bd027d9bb..891707df44 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -213,6 +213,7 @@ class RoomCreationHandler(BaseHandler):
                 "events": {
                     EventTypes.Name: 100,
                     EventTypes.PowerLevels: 100,
+                    EventTypes.RoomHistoryVisibility: 100,
                 },
                 "events_default": 0,
                 "state_default": 50,