summary refs log tree commit diff
path: root/synapse/handlers/presence.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-03-20 14:39:41 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-03-20 14:39:41 +0000
commit032fed6f42268d37a7b8a78ee3631980fda4aee9 (patch)
treed84356343c5a7ab4b1d0bf2923501f714077e06f /synapse/handlers/presence.py
parent1.7.1 (diff)
parentAdd database config class (#6513) (diff)
downloadsynapse-032fed6f42268d37a7b8a78ee3631980fda4aee9.tar.xz
Add database config class (#6513)
* commit '2284eb3a5':
  Add database config class (#6513)
  too many parens
Diffstat (limited to 'synapse/handlers/presence.py')
-rw-r--r--synapse/handlers/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py

index eda15bc623..240c4add12 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py
@@ -230,7 +230,7 @@ class PresenceHandler(object): is some spurious presence changes that will self-correct. """ # If the DB pool has already terminated, don't try updating - if not self.hs.get_db_pool().running: + if not self.store.database.is_running(): return logger.info(