summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2016-12-12 17:20:17 +0000
committerGitHub <noreply@github.com>2016-12-12 17:20:17 +0000
commit8588d0eb3d20dab498925adb00b6be563b99c66e (patch)
tree7b8627309e333e48dcd63a95ddf35b1ecbce2e12
parentMerge pull request #1676 from matrix-org/erikj/room_list (diff)
parentFix background update that prematurely stopped (diff)
downloadsynapse-8588d0eb3d20dab498925adb00b6be563b99c66e.tar.xz
Merge pull request #1697 from matrix-org/erikj/fix_bg_member
Fix background update that prematurely stopped
Diffstat (limited to '')
-rw-r--r--synapse/storage/roommember.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py
index b2a45a38c1..63e8c32903 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -534,7 +534,7 @@ class RoomMemberStore(SQLBaseStore):
                 txn, _MEMBERSHIP_PROFILE_UPDATE_NAME, progress
             )
 
-            return len(to_update)
+            return len(rows)
 
         result = yield self.runInteraction(
             _MEMBERSHIP_PROFILE_UPDATE_NAME, add_membership_profile_txn