summary refs log tree commit diff
path: root/changelog.d/13960.misc
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-09-30 20:10:50 -0500
committerGitHub <noreply@github.com>2022-09-30 20:10:50 -0500
commita52c40e2a6d3a142c9cf768479ec963354c3e360 (patch)
tree035abad3b8487f8f9cbc0840ba7208bdddc14fc9 /changelog.d/13960.misc
parentClarifications in user directory for users who share rooms tracking (#13966) (diff)
downloadsynapse-a52c40e2a6d3a142c9cf768479ec963354c3e360.tar.xz
Fix `get_users_in_room` mis-use in `transfer_room_state_on_room_upgrade` (#13960)
Spawning from looking into `get_users_in_room` while investigating https://github.com/matrix-org/synapse/issues/13942#issuecomment-1262787050.

See https://github.com/matrix-org/synapse/pull/13575#discussion_r953023755 for the original exploration around finding `get_users_in_room` mis-uses.

Related to the following PRs where we also cleaned up some `get_users_in_room` mis-uses:

 - https://github.com/matrix-org/synapse/pull/13605
 - https://github.com/matrix-org/synapse/pull/13608
 - https://github.com/matrix-org/synapse/pull/13606
 - https://github.com/matrix-org/synapse/pull/13958
Diffstat (limited to 'changelog.d/13960.misc')
-rw-r--r--changelog.d/13960.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/13960.misc b/changelog.d/13960.misc
new file mode 100644
index 0000000000..a7ba532bcb
--- /dev/null
+++ b/changelog.d/13960.misc
@@ -0,0 +1 @@
+Use dedicated `get_local_users_in_room(room_id)` function to find local users when calculating users to copy over during a room upgrade.