diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-05-16 18:56:37 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-05-16 18:56:37 +0100 |
commit | 3b86ecfa7965f4d29e0f5ce8fb663e5f018adf89 (patch) | |
tree | 98f7e429892fa3e18bf88f920279c9c712d15b25 /synapse/replication/resource.py | |
parent | Merge pull request #760 from matrix-org/matthew/preview_url_ip_whitelist (diff) | |
download | synapse-3b86ecfa7965f4d29e0f5ce8fb663e5f018adf89.tar.xz |
Move the presence handler out of the Handlers object
Diffstat (limited to 'synapse/replication/resource.py')
-rw-r--r-- | synapse/replication/resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/resource.py b/synapse/replication/resource.py index 0e983ae7fa..b0e7a17670 100644 --- a/synapse/replication/resource.py +++ b/synapse/replication/resource.py @@ -109,7 +109,7 @@ class ReplicationResource(Resource): self.version_string = hs.version_string self.store = hs.get_datastore() self.sources = hs.get_event_sources() - self.presence_handler = hs.get_handlers().presence_handler + self.presence_handler = hs.get_presence_handler() self.typing_handler = hs.get_handlers().typing_notification_handler self.notifier = hs.notifier self.clock = hs.get_clock() |