summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-09-07 17:03:06 +0100
committerMatthew Hodgson <matthew@matrix.org>2018-09-07 17:03:06 +0100
commit2d92d5ab2df4dc0378c79f0ffe9bddce82b02f36 (patch)
treeea1351bd810d09c49b54915d58d0d2fbf696f36c
parentthinko (diff)
downloadsynapse-2d92d5ab2df4dc0378c79f0ffe9bddce82b02f36.tar.xz
yet another typo
-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 ef73ff874b..e18cfcd948 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -113,7 +113,7 @@ class RoomMemberWorkerStore(EventsWorkerStore):
             txn.execute(sql, (room_id,))
             for r in txn:
                 summary = res.setdefault(to_ascii(r[1]), {})
-                summary.set('count', r[0])
+                summary.put('count', r[0])
 
             return res