mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 09:39:27 -05:00
Don't block messages sending on bumping presence
This commit is contained in:
parent
9898bbd9dc
commit
586f474a44
@ -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 New Issue
Block a user