mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 19:47:05 +03:00
Transfer related groups on room upgrade (#4990)
Transfers the m.room.related_groups state event on room upgrade.
This commit is contained in:
parent
8530090b16
commit
66e78700a2
3 changed files with 3 additions and 0 deletions
1
changelog.d/4990.bugfix
Normal file
1
changelog.d/4990.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Transfer related groups on room upgrade.
|
|
@ -69,6 +69,7 @@ class EventTypes(object):
|
|||
Redaction = "m.room.redaction"
|
||||
ThirdPartyInvite = "m.room.third_party_invite"
|
||||
Encryption = "m.room.encryption"
|
||||
RelatedGroups = "m.room.related_groups"
|
||||
|
||||
RoomHistoryVisibility = "m.room.history_visibility"
|
||||
CanonicalAlias = "m.room.canonical_alias"
|
||||
|
|
|
@ -280,6 +280,7 @@ class RoomCreationHandler(BaseHandler):
|
|||
(EventTypes.RoomAvatar, ""),
|
||||
(EventTypes.Encryption, ""),
|
||||
(EventTypes.ServerACL, ""),
|
||||
(EventTypes.RelatedGroups, ""),
|
||||
)
|
||||
|
||||
old_room_state_ids = yield self.store.get_filtered_current_state_ids(
|
||||
|
|
Loading…
Reference in a new issue