summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-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