summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-06-29 15:47:37 +0100
committerErik Johnston <erik@matrix.org>2017-06-29 15:47:37 +0100
commit6ff14ddd2e93f569c3b4ace979f795f57da6c09c (patch)
tree43a5d5ba21df1a39d8052b5e4d55c3398413a61d
parentPrefill forward extrems and event to state groups (diff)
downloadsynapse-6ff14ddd2e93f569c3b4ace979f795f57da6c09c.tar.xz
Make into list
-rw-r--r--synapse/storage/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index 274426950a..7002b3752e 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -405,7 +405,7 @@ class EventsStore(SQLBaseStore):
 
                 for room_id, latest_event_ids in new_forward_extremeties.iteritems():
                     self.get_latest_event_ids_in_room.prefill(
-                        (room_id,), latest_event_ids
+                        (room_id,), list(latest_event_ids)
                     )
 
     @defer.inlineCallbacks