summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-10-29 12:49:21 +0000
committerGitHub <noreply@github.com>2018-10-29 12:49:21 +0000
commit7fbfea062ebb11576e59aa9bdd200826efe8883d (patch)
tree64912a3d46f5fd018346be2054ea9fc9950c1e86 /synapse/handlers
parentMerge pull request #4099 from matrix-org/rav/upgrade_odd_pls (diff)
parentRemember to copy the avatar on room upgrades (diff)
downloadsynapse-7fbfea062ebb11576e59aa9bdd200826efe8883d.tar.xz
Merge pull request #4100 from matrix-org/rav/room_upgrade_avatar
Remember to copy the avatar on room upgrades
Diffstat (limited to '')
-rw-r--r--synapse/handlers/room.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 70085db625..1d9417ff1a 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -265,7 +265,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(