diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-05-17 10:09:43 +0100 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2016-05-17 10:09:43 +0100 |
commit | b153f5b150086ed62703b05f035677c6509d801d (patch) | |
tree | f16e0f21537380d516b7b5f841d60f3c92b67c9a /synapse/handlers/events.py | |
parent | Merge pull request #788 from matrix-org/markjh/domian (diff) | |
parent | Don't inherit PresenceHandler from BaseHandler, remove references to self.hs ... (diff) | |
download | synapse-b153f5b150086ed62703b05f035677c6509d801d.tar.xz |
Merge pull request #787 from matrix-org/markjh/liberate_presence_handler
Move the presence handler out of the Handlers object
Diffstat (limited to 'synapse/handlers/events.py')
-rw-r--r-- | synapse/handlers/events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/events.py b/synapse/handlers/events.py index f25a252523..3a3a1257d3 100644 --- a/synapse/handlers/events.py +++ b/synapse/handlers/events.py @@ -58,7 +58,7 @@ class EventStreamHandler(BaseHandler): If `only_keys` is not None, events from keys will be sent down. """ auth_user = UserID.from_string(auth_user_id) - presence_handler = self.hs.get_handlers().presence_handler + presence_handler = self.hs.get_presence_handler() context = yield presence_handler.user_syncing( auth_user_id, affect_presence=affect_presence, |