forked-synapse/synapse/storage/databases
Sean Quah e46d5f3586
Factor out an is_mine_server_name method (#15542)
Add an `is_mine_server_name` method, similar to `is_mine_id`.

Ideally we would use this consistently, instead of sometimes comparing
against `hs.hostname` and other times reaching into
`hs.config.server.server_name`.

Also fix a bug in the tests where `hs.hostname` would sometimes differ
from `hs.config.server.server_name`.

Signed-off-by: Sean Quah <seanq@matrix.org>
2023-05-05 15:06:22 +01:00
..
main Factor out an is_mine_server_name method (#15542) 2023-05-05 15:06:22 +01:00
state Include the room ID in more purge room log lines. (#15222) 2023-03-08 20:08:56 +00:00
__init__.py Check databases/__init__ and main/cache with mypy. (#15496) 2023-04-27 07:59:14 -04:00