Fix backfill to work. Add auth to backfill request

This commit is contained in:
Erik Johnston 2014-11-10 11:59:51 +00:00
parent 65f846ade0
commit 6447db063a
6 changed files with 56 additions and 18 deletions

View file

@ -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)