mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-30 12:04:25 -04:00
chore(sdk): Improve an inline comment.
This commit is contained in:
@@ -114,7 +114,8 @@ impl PaginatedCache for ThreadEventCacheWrapper {
|
||||
|
||||
let prev_first_chunk = state.thread_linked_chunk().first_chunk();
|
||||
|
||||
// The first chunk is not a gap, we can load its previous chunk.
|
||||
// If we are here, it means all gaps have been resolved (see the `if` block
|
||||
// above). So the first chunk is not a gap, we can load its previous chunk.
|
||||
let linked_chunk_id = LinkedChunkId::Thread(&state.room_id, &state.thread_id);
|
||||
let new_first_chunk = match state
|
||||
.store
|
||||
|
||||
Reference in New Issue
Block a user