Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions synapse/handlers/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,10 @@ async def clone_existing_room(
(EventTypes.PowerLevels, ""),
]

#:tchap: copy room access rule in the upgraded room
types_to_copy.extend([('im.vector.room.access_rules', "")])
#:tchap:end

room_type = old_room_create_event.content.get(EventContentFields.ROOM_TYPE)
if room_type is not None:
# If the old room was a space, copy over the rooms in the space.
Expand Down
Loading