MatrixSynapse/synapse/storage
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
..
controllers Add admin endpoint to query room sizes (#15482) 2023-04-26 16:00:11 +00:00
databases Factor out an `is_mine_server_name` method (#15542) 2023-05-05 15:06:22 +01:00
engines
schema Set thread_id column to non-null for event_push_{actions,actions_staging,summary} (#15437) 2023-05-03 07:49:03 -04:00
util
__init__.py
_base.py
background_updates.py Set thread_id column to non-null for event_push_{actions,actions_staging,summary} (#15437) 2023-05-03 07:49:03 -04:00
database.py Speed up rebuilding of the user directory for local users (#15529) 2023-05-03 13:41:37 +00:00
keys.py
prepare_database.py Add type hints to schema deltas (#15497) 2023-04-27 12:44:53 +00:00
push_rule.py
roommember.py
types.py More precise type for LoggingTransaction.execute (#15432) 2023-04-14 18:04:49 +00:00