diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-05-16 20:08:32 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-05-16 20:08:32 +0100 |
commit | 53e171f345d43ab133e8382cfdf639cd81dfcc4b (patch) | |
tree | 2ceaa5da4938c60de600373fa02930cece959f11 /synapse/handlers/message.py | |
parent | Remove get_joined_rooms_for_user from RoomMemberHandler (diff) | |
parent | Don't inherit PresenceHandler from BaseHandler, remove references to self.hs ... (diff) | |
download | synapse-53e171f345d43ab133e8382cfdf639cd81dfcc4b.tar.xz |
Merge branch 'markjh/liberate_presence_handler' into markjh/liberate_sync_handler
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r-- | synapse/handlers/message.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 9386aeeb1c..c41dafdef5 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -236,7 +236,7 @@ class MessageHandler(BaseHandler): ) if event.type == EventTypes.Message: - presence = self.hs.get_handlers().presence_handler + presence = self.hs.get_presence_handler() yield presence.bump_presence_active_time(user) def deduplicate_state_event(self, event, context): @@ -674,7 +674,7 @@ class MessageHandler(BaseHandler): and m.content["membership"] == Membership.JOIN ] - presence_handler = self.hs.get_handlers().presence_handler + presence_handler = self.hs.get_presence_handler() @defer.inlineCallbacks def get_presence(): |