summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2018-06-22 16:47:49 +0100
committerDavid Baker <dave@matrix.org>2018-06-22 16:47:49 +0100
commit3d0faa39fb8813fd747f63776fd88ccd0e893e2b (patch)
tree21ee40cba9020311f925bbfdc47a5faf36c6c65d /synapse/handlers/room.py
parentServer-enforced e2e for private rooms (diff)
downloadsynapse-3d0faa39fb8813fd747f63776fd88ccd0e893e2b.tar.xz
Add m.encryption to event types
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r--synapse/handlers/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index a66433ad55..bcb54fe41a 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -377,7 +377,7 @@ class RoomCreationHandler(BaseHandler):
 
         if "encryption_alg" in config:
             send(
-                etype="m.room.encryption",
+                etype=EventTypes.Encryption,
                 state_key="",
                 content={
                     'algorithm': config["encryption_alg"],