This commit is contained in:
Matthew Hodgson 2019-09-03 12:44:14 +01:00
parent 2a44782666
commit 8401bcd206

View File

@ -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]
) )