Merge pull request #4100 from matrix-org/rav/room_upgrade_avatar
Remember to copy the avatar on room upgrades
This commit is contained in:
commit
7fbfea062e
|
@ -0,0 +1 @@
|
||||||
|
Support for replacing rooms with new ones
|
|
@ -265,7 +265,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 New Issue