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/handlers/presence.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/handlers/presence.py')
-rw-r--r-- | synapse/handlers/presence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index a8529cce42..8aaaec7030 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -860,7 +860,7 @@ class PresenceEventSource(object): from_key = int(from_key) room_ids = room_ids or [] - presence = self.hs.get_handlers().presence_handler + presence = self.hs.get_presence_handler() stream_change_cache = self.store.presence_stream_cache if not room_ids: |