2d91b6256e
* We only need to fetch users in private rooms * Filter out `user_id` at the top * Discard excluded users in the top loop We weren't doing this in the "First, if they're our user" branch so this is a bugfix. * The caller must check that `user_id` is included This is in the docstring. There are two call sites: - one in `_handle_room_publicity_change`, which explicitly checks before calling; - and another in `_handle_room_membership_event`, which returns early if the user is excluded. So this change is safe. * Test joining a private room with an excluded user * Tweak an existing test * Changelog * test docstring * lint |
||
---|---|---|
.. | ||
__init__.py | ||
oidc_test_key.p8 | ||
oidc_test_key.pub.pem | ||
test_admin.py | ||
test_appservice.py | ||
test_auth.py | ||
test_cas.py | ||
test_device.py | ||
test_directory.py | ||
test_e2e_keys.py | ||
test_e2e_room_keys.py | ||
test_federation.py | ||
test_message.py | ||
test_oidc.py | ||
test_password_providers.py | ||
test_presence.py | ||
test_profile.py | ||
test_receipts.py | ||
test_register.py | ||
test_room.py | ||
test_room_summary.py | ||
test_saml.py | ||
test_send_email.py | ||
test_stats.py | ||
test_sync.py | ||
test_typing.py | ||
test_user_directory.py |