Don't block messages sending on bumping presence

This commit is contained in:
Erik Johnston 2017-01-10 12:46:00 +00:00
parent 9898bbd9dc
commit 586f474a44
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ class MessageHandler(BaseHandler):
if event.type == EventTypes.Message: if event.type == EventTypes.Message:
presence = self.hs.get_presence_handler() presence = self.hs.get_presence_handler()
yield presence.bump_presence_active_time(user) preserve_fn(presence.bump_presence_active_time)(user)
@defer.inlineCallbacks @defer.inlineCallbacks
def deduplicate_state_event(self, event, context): def deduplicate_state_event(self, event, context):