mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-10 01:24:32 -05:00
Fix some test failures when frozen_dicts are enabled (#6642)
Fixes #4026
This commit is contained in:
parent
9f6c1befbb
commit
ba897a7590
5 changed files with 20 additions and 11 deletions
|
|
@ -507,6 +507,8 @@ class RoomMemberHandler(object):
|
|||
Returns:
|
||||
Deferred
|
||||
"""
|
||||
logger.info("Transferring room state from %s to %s", old_room_id, room_id)
|
||||
|
||||
# Find all local users that were in the old room and copy over each user's state
|
||||
users = yield self.store.get_users_in_room(old_room_id)
|
||||
yield self.copy_user_state_on_room_upgrade(old_room_id, room_id, users)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue