Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Check correct variable
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Aug 30, 2016
1 parent 21b977c commit 097330b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/handlers/presence.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def _persist_unpersisted_changes(self):
unpersisted = self.unpersisted_users_changes
self.unpersisted_users_changes = set()

if self.unpersisted_users_changes:
if unpersisted:
yield self.store.update_presence([
self.user_to_current_state[user_id]
for user_id in unpersisted
Expand Down

0 comments on commit 097330b

Please sign in to comment.