forked from MirrorHub/synapse
Remember to copy the avatar on room upgrades
This commit is contained in:
parent
54bbe71867
commit
5caf79b312
2 changed files with 3 additions and 1 deletions
1
changelog.d/4100.feature
Normal file
1
changelog.d/4100.feature
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Support for replacing rooms with new ones
|
|
@ -228,7 +228,8 @@ class RoomCreationHandler(BaseHandler):
|
||||||
(EventTypes.Name, ""),
|
(EventTypes.Name, ""),
|
||||||
(EventTypes.Topic, ""),
|
(EventTypes.Topic, ""),
|
||||||
(EventTypes.RoomHistoryVisibility, ""),
|
(EventTypes.RoomHistoryVisibility, ""),
|
||||||
(EventTypes.GuestAccess, "")
|
(EventTypes.GuestAccess, ""),
|
||||||
|
(EventTypes.RoomAvatar, ""),
|
||||||
)
|
)
|
||||||
|
|
||||||
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 a new issue