synapse/tests/rest/admin
Erik Johnston 827f198177
Fix error when sending message into deleted room. (#15235)
When a room is deleted in Synapse we remove the event forward
extremities in the room, so if (say a bot) tries to send a message into
the room we error out due to not being able to calculate prev events for
the new event *before* we check if the sender is in the room.

Fixes #8094
2023-03-21 09:13:43 +00:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_admin.py Use literals in place of `HTTPStatus` constants in tests (#13479) 2022-08-09 14:56:43 +01:00
test_background_updates.py Use literals in place of `HTTPStatus` constants in tests (#13488) 2022-08-10 11:01:12 -07:00
test_device.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_event_reports.py Admin API endpoint to delete a reported event (#15116) 2023-02-28 12:09:10 +00:00
test_federation.py Use literals in place of `HTTPStatus` constants in tests (#13488) 2022-08-10 11:01:12 -07:00
test_media.py Refactor media modules. (#15146) 2023-02-27 08:26:05 -05:00
test_registration_tokens.py Use literals in place of `HTTPStatus` constants in tests (#13488) 2022-08-10 11:01:12 -07:00
test_room.py Fix error when sending message into deleted room. (#15235) 2023-03-21 09:13:43 +00:00
test_server_notice.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_statistics.py Use literals in place of `HTTPStatus` constants in tests (#13488) 2022-08-10 11:01:12 -07:00
test_user.py Refactor media modules. (#15146) 2023-02-27 08:26:05 -05:00
test_username_available.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00