Skip to content

Commit e29958f

Browse files
committed
refactor(common): LinkedChunk can start by a gap.
This patch removes the invariant stating that a `LinkedChunk` must start by a chunk of type items. This has never been really useful but it's now annoying to have this (with iterative loading of a `LinkedChunk` via the `EventCache`, it's now possible to get a gap as the first chunk). Let's remove this invariant.
1 parent 69588d5 commit e29958f

File tree

1 file changed

+206
-107
lines changed
  • crates/matrix-sdk-common/src/linked_chunk

1 file changed

+206
-107
lines changed

0 commit comments

Comments
 (0)