diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-09-15 08:34:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 08:34:52 -0400 |
commit | 8c7a531e277f98ac6b7981b9738649f3a70feb94 (patch) | |
tree | a6e0088d17ee9c12218d3c21bc163f5cc7231848 /synapse/handlers/initial_sync.py | |
parent | Verify `?chunk_id` actually corresponds to an insertion event that exists (MS... (diff) | |
download | synapse-8c7a531e277f98ac6b7981b9738649f3a70feb94.tar.xz |
Use direct references for some configuration variables (part 2) (#10812)
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/initial_sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/initial_sync.py b/synapse/handlers/initial_sync.py index 4e8f7f1d85..0b24b40eb9 100644 --- a/synapse/handlers/initial_sync.py +++ b/synapse/handlers/initial_sync.py @@ -413,7 +413,7 @@ class InitialSyncHandler(BaseHandler): async def get_presence(): # If presence is disabled, return an empty list - if not self.hs.config.use_presence: + if not self.hs.config.server.use_presence: return [] states = await presence_handler.get_states( |