Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit ae311bc

Browse files
authored
Revert "Migrate encryption state on room upgrade (#4411)"
This reverts commit 702c4b7.
1 parent 702c4b7 commit ae311bc

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

changelog.d/4411.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

synapse/api/constants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ class EventTypes(object):
6868
Aliases = "m.room.aliases"
6969
Redaction = "m.room.redaction"
7070
ThirdPartyInvite = "m.room.third_party_invite"
71-
Encryption = "m.room.encryption"
7271

7372
RoomHistoryVisibility = "m.room.history_visibility"
7473
CanonicalAlias = "m.room.canonical_alias"

synapse/handlers/room.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ def clone_exiting_room(
269269
(EventTypes.RoomHistoryVisibility, ""),
270270
(EventTypes.GuestAccess, ""),
271271
(EventTypes.RoomAvatar, ""),
272-
(EventTypes.Encryption, ""),
273272
)
274273

275274
old_room_state_ids = yield self.store.get_filtered_current_state_ids(

0 commit comments

Comments
 (0)