summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-09-07 17:05:00 +0100
committerMatthew Hodgson <matthew@matrix.org>2018-09-07 17:05:00 +0100
commit6d836eb52943f1342fa13f0b9ed869421f146b3f (patch)
treefedc63d4da38627dedb153ff03cc040fe09d1777
parentyet another typo (diff)
downloadsynapse-6d836eb52943f1342fa13f0b9ed869421f146b3f.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 e18cfcd948..526c94f808 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.put('count', r[0])
+                summary['count'] = r[0]
 
             return res