diff options
author | David Baker <dave@matrix.org> | 2018-06-22 16:47:49 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2018-06-22 16:47:49 +0100 |
commit | 3d0faa39fb8813fd747f63776fd88ccd0e893e2b (patch) | |
tree | 21ee40cba9020311f925bbfdc47a5faf36c6c65d /synapse/handlers/room.py | |
parent | Server-enforced e2e for private rooms (diff) | |
download | synapse-3d0faa39fb8813fd747f63776fd88ccd0e893e2b.tar.xz |
Add m.encryption to event types
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r-- | synapse/handlers/room.py | 2 |
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"], |