summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2020-04-09 18:45:38 +0100
committerGitHub <noreply@github.com>2020-04-09 18:45:38 +0100
commitac978ab3da48ca1d0c6f40d9857d769e72e960dd (patch)
tree2aed7ae1b48761e70c400896d9a496c6752b7627 /synapse/handlers/room.py
parentDo not allow a deactivated user to login via SSO. (#7240) (diff)
downloadsynapse-ac978ab3da48ca1d0c6f40d9857d769e72e960dd.tar.xz
Default PL100 to enable encryption in a room (#7230)
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 f580ab2e9f..df3e0cff67 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -806,6 +806,7 @@ class RoomCreationHandler(BaseHandler):
                     EventTypes.RoomAvatar: 50,
                     EventTypes.Tombstone: 100,
                     EventTypes.ServerACL: 100,
+                    EventTypes.RoomEncryption: 100,
                 },
                 "events_default": 0,
                 "state_default": 50,