summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-07-10 13:47:04 +0100
committerErik Johnston <erik@matrix.org>2015-07-10 13:47:04 +0100
commit532fcc997ac79e1e9c0d888b9239b1fb06de25e2 (patch)
tree8d74fd9e2c1c525a345d1aef42afa66829ad8e1e /synapse/handlers/room.py
parentMerge pull request #194 from matrix-org/erikj/bulk_verify_sigs (diff)
parentAdd comment (diff)
downloadsynapse-532fcc997ac79e1e9c0d888b9239b1fb06de25e2.tar.xz
Merge pull request #196 from matrix-org/erikj/room_history
Add ability to restrict room history.
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,