summary refs log tree commit diff
path: root/synapse/api/constants.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/api/constants.py
parentServer-enforced e2e for private rooms (diff)
downloadsynapse-3d0faa39fb8813fd747f63776fd88ccd0e893e2b.tar.xz
Add m.encryption to event types
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py

index 5baba43966..92b5790557 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py
@@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # Copyright 2014-2016 OpenMarket Ltd # Copyright 2017 Vector Creations Ltd +# Copyright 2018 New Vector Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -70,6 +71,7 @@ class EventTypes(object): CanonicalAlias = "m.room.canonical_alias" RoomAvatar = "m.room.avatar" GuestAccess = "m.room.guest_access" + Encryption = "m.room.encryption" # These are used for validation Message = "m.room.message"