MatrixSynapse/synapse
Eric Eastwood a52c40e2a6
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
2022-09-30 20:10:50 -05:00
..
_scripts Allow admins to require a manual approval process before new accounts can be used (using MSC3866) (#13556) 2022-09-29 15:23:24 +02:00
api Allow admins to require a manual approval process before new accounts can be used (using MSC3866) (#13556) 2022-09-29 15:23:24 +02:00
app Update mypy and mypy-zope, attempt 3 (#13993) 2022-09-30 17:36:28 +01:00
appservice
config Allow admins to require a manual approval process before new accounts can be used (using MSC3866) (#13556) 2022-09-29 15:23:24 +02:00
crypto
events fix: Push notifications for invite over federation (#13719) 2022-09-28 12:31:53 +00:00
federation Prioritize outbound to-device over device list updates (#13922) 2022-09-27 15:17:41 +01:00
handlers Fix `get_users_in_room` mis-use in `transfer_room_state_on_room_upgrade` (#13960) 2022-09-30 20:10:50 -05:00
http Fix mypy errors with latest canonicaljson (#13905) 2022-09-26 13:30:00 +01:00
logging Update mypy and mypy-zope, attempt 3 (#13993) 2022-09-30 17:36:28 +01:00
metrics
module_api Add missing version information in the ModuleApi (#13947) 2022-09-30 12:27:21 +02:00
push Skip filtering during push if there are no push actions (#13992) 2022-09-30 17:40:33 +01:00
replication Allow admins to require a manual approval process before new accounts can be used (using MSC3866) (#13556) 2022-09-29 15:23:24 +02:00
res
rest Allow admins to require a manual approval process before new accounts can be used (using MSC3866) (#13556) 2022-09-29 15:23:24 +02:00
server_notices
spam_checker_api
state Prepatory work for batching events to send (#13487) 2022-09-28 10:39:03 +01:00
static
storage Update mypy and mypy-zope, attempt 3 (#13993) 2022-09-30 17:36:28 +01:00
streams
util Don't require `setuptools_rust` at runtime (#13952) 2022-09-29 20:16:08 +00:00
__init__.py
event_auth.py
notifier.py
py.typed
server.py
types.py Accept & store thread IDs for receipts (implement MSC3771). (#13782) 2022-09-23 14:33:28 +00:00
visibility.py Skip filtering during push if there are no push actions (#13992) 2022-09-30 17:40:33 +01:00