summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-01 14:50:06 +0100
committerErik Johnston <erik@matrix.org>2016-09-01 14:50:06 +0100
commit265d847ffd3f9b7a123974a7c1cafd2487720c96 (patch)
treed5153f638e0faf0638cbee1798452de08c2d2c4a
parentMerge branch 'erikj/pdu_check' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-265d847ffd3f9b7a123974a7c1cafd2487720c96.tar.xz
Fix typo in log line
-rw-r--r--synapse/handlers/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py
index d22adadc38..cf82a2336e 100644
--- a/synapse/handlers/presence.py
+++ b/synapse/handlers/presence.py
@@ -230,7 +230,7 @@ class PresenceHandler(object):
         """
         logger.info(
             "Performing _persist_unpersisted_changes. Persiting %d unpersisted changes",
-            len(self.user_to_current_state)
+            len(self.unpersisted_users_changes)
         )
 
         unpersisted = self.unpersisted_users_changes