code_spécifique_watcha
Matthew Hodgson 5 years ago
parent 2a44782666
commit 8401bcd206
  1. 2
      synapse/handlers/presence.py

@ -255,7 +255,7 @@ class PresenceHandler(object):
self.unpersisted_users_changes = set() self.unpersisted_users_changes = set()
if unpersisted: if unpersisted:
logger.info("Persisting %d upersisted presence updates", len(unpersisted)) logger.info("Persisting %d unpersisted presence updates", len(unpersisted))
yield self.store.update_presence( yield self.store.update_presence(
[self.user_to_current_state[user_id] for user_id in unpersisted] [self.user_to_current_state[user_id] for user_id in unpersisted]
) )

Loading…
Cancel
Save