some notes wrt to #248 / backfills

This commit is contained in:
Bruno Windels 2021-03-01 15:02:21 +01:00
parent 0eb2b4fe6b
commit c18a7175b7

View File

@ -5,3 +5,8 @@ we should automatically fill gaps (capped at a certain (large) amount of events,
during these fills (once supported), we should calculate push actions and trigger notifications, as we would otherwise have received this through sync.
we could also trigger notifications when just backfilling on initial sync up to a certain amount of time in the past?
we also need to backfill if we didn't receive any m.room.message in a limited sync for an encrypted room, as it's possible the room summary hasn't seen the last message in the room and is now out of date. this is also true for a non-encrypted room actually, although wrt to the above, here notifications would work well though.
a room should request backfills in needsAfterSyncCompleted and do them in afterSyncCompleted.