diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-10-26 23:56:40 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-10-26 23:56:40 +0100 |
commit | 5caf79b312947c823977c89275c1ea5750aeec92 (patch) | |
tree | 2522413277bcc070617202231f2ce5b12f7e05ec /synapse | |
parent | optimise state copying (diff) | |
download | synapse-5caf79b312947c823977c89275c1ea5750aeec92.tar.xz |
Remember to copy the avatar on room upgrades
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/room.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index 8e48c1ca6a..c59c02527c 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -228,7 +228,8 @@ class RoomCreationHandler(BaseHandler): (EventTypes.Name, ""), (EventTypes.Topic, ""), (EventTypes.RoomHistoryVisibility, ""), - (EventTypes.GuestAccess, "") + (EventTypes.GuestAccess, ""), + (EventTypes.RoomAvatar, ""), ) old_room_state_ids = yield self.store.get_filtered_current_state_ids( |