forked-synapse/synapse/federation/sender
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
..
__init__.py Factor out an is_mine_server_name method (#15542) 2023-05-05 15:06:22 +01:00
per_destination_queue.py Ensure fed-sender catchup does not block for full state (#15248) 2023-03-13 12:31:19 +00:00
transaction_manager.py Additional constants for EDU types. (#12884) 2022-05-27 07:14:36 -04:00