mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 09:40:22 +00:00
Don't block messages sending on bumping presence
This commit is contained in:
parent
9898bbd9dc
commit
586f474a44
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue