Add a unit test for copying over arbitrary room types when upgrading a room (#12792)

This commit is contained in:
Andrew Morgan 2022-05-19 18:32:48 +01:00 committed by GitHub
parent 177b884ad7
commit 96df31239c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 2 deletions

View file

@ -427,7 +427,7 @@ class RoomCreationHandler:
requester: the user requesting the upgrade
old_room_id : the id of the room to be replaced
new_room_id: the id to give the new room (should already have been
created with _gemerate_room_id())
created with _generate_room_id())
new_room_version: the new room version to use
tombstone_event_id: the ID of the tombstone event in the old room.
"""