mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-17 21:54:30 -05: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
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"
|
Redaction = "m.room.redaction"
|
||||||
ThirdPartyInvite = "m.room.third_party_invite"
|
ThirdPartyInvite = "m.room.third_party_invite"
|
||||||
Encryption = "m.room.encryption"
|
Encryption = "m.room.encryption"
|
||||||
|
RelatedGroups = "m.room.related_groups"
|
||||||
|
|
||||||
RoomHistoryVisibility = "m.room.history_visibility"
|
RoomHistoryVisibility = "m.room.history_visibility"
|
||||||
CanonicalAlias = "m.room.canonical_alias"
|
CanonicalAlias = "m.room.canonical_alias"
|
||||||
|
@ -280,6 +280,7 @@ class RoomCreationHandler(BaseHandler):
|
|||||||
(EventTypes.RoomAvatar, ""),
|
(EventTypes.RoomAvatar, ""),
|
||||||
(EventTypes.Encryption, ""),
|
(EventTypes.Encryption, ""),
|
||||||
(EventTypes.ServerACL, ""),
|
(EventTypes.ServerACL, ""),
|
||||||
|
(EventTypes.RelatedGroups, ""),
|
||||||
)
|
)
|
||||||
|
|
||||||
old_room_state_ids = yield self.store.get_filtered_current_state_ids(
|
old_room_state_ids = yield self.store.get_filtered_current_state_ids(
|
||||||
|
Loading…
Reference in New Issue
Block a user