From 87748a886055d77999e5e4186af4608970ef9494 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Fri, 9 Nov 2018 09:39:56 +0000 Subject: [PATCH] Explicit TODO about saving events retrieved through backfill to the database --- .../matrix-org/dendrite/syncapi/routing/messages.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/syncapi/routing/messages.go b/src/github.com/matrix-org/dendrite/syncapi/routing/messages.go index a02cfc2a..225b05ae 100644 --- a/src/github.com/matrix-org/dendrite/syncapi/routing/messages.go +++ b/src/github.com/matrix-org/dendrite/syncapi/routing/messages.go @@ -317,7 +317,10 @@ func backfill( return nil, err } - // TODO: Store the events in the database. + // TODO: Store the events in the database. The remaining question to + // make this possible is what to assign to the new events' stream + // position (negative integers? change the stream position format into a + // timestamp-based one?...) pdus = txn.PDUs }