diff options
author | Erik Johnston <erik@matrix.org> | 2020-02-04 17:25:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-04 17:25:54 +0000 |
commit | 6475382d807e1fed095d1e3fbd04884799ebd612 (patch) | |
tree | f143e1b01f431cfcd1890abc68cb2602e3c8a674 /synapse/handlers/room.py | |
parent | Update changelog (diff) | |
download | synapse-6475382d807e1fed095d1e3fbd04884799ebd612.tar.xz |
Fix detecting unknown devices from remote encrypted events. (#6848)
We were looking at the wrong event type (`m.room.encryption` vs `m.room.encrypted`). Also fixup the duplicate `EvenTypes` entries. Introduced in #6776.
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 1382399557..b609a65f47 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -360,7 +360,7 @@ class RoomCreationHandler(BaseHandler): (EventTypes.RoomHistoryVisibility, ""), (EventTypes.GuestAccess, ""), (EventTypes.RoomAvatar, ""), - (EventTypes.Encryption, ""), + (EventTypes.RoomEncryption, ""), (EventTypes.ServerACL, ""), (EventTypes.RelatedGroups, ""), (EventTypes.PowerLevels, ""), |