summary refs log tree commit diff
path: root/synapse/storage/event_federation.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-11-10 11:59:51 +0000
committerErik Johnston <erik@matrix.org>2014-11-10 11:59:51 +0000
commit6447db063a0d01135582bdfb3392b419f16a19e7 (patch)
tree6f94306775c4344dd695e4b6bb64776ca94bd8de /synapse/storage/event_federation.py
parentNotify users about invites. (diff)
downloadsynapse-6447db063a0d01135582bdfb3392b419f16a19e7.tar.xz
Fix backfill to work. Add auth to backfill request
Diffstat (limited to 'synapse/storage/event_federation.py')
-rw-r--r--synapse/storage/event_federation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/event_federation.py b/synapse/storage/event_federation.py
index 06e32d592d..a707030145 100644
--- a/synapse/storage/event_federation.py
+++ b/synapse/storage/event_federation.py
@@ -371,10 +371,10 @@ class EventFederationStore(SQLBaseStore):
                         "_backfill_interaction: got id=%s",
                         *row
                     )
-                    new_front.append(row)
+                    new_front.append(row[0])
 
             front = new_front
             event_results += new_front
 
         # We also want to update the `prev_pdus` attributes before returning.
-        return self._get_pdu_tuples(txn, event_results)
+        return self._get_events_txn(txn, event_results)