Skip to content

Commit 9db137a

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 2999d10 commit 9db137a

File tree

1 file changed

+209
-108
lines changed
  • crates/matrix-sdk-common/src/linked_chunk

1 file changed

+209
-108
lines changed

0 commit comments

Comments
 (0)