We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99b63b7 commit bb3825eCopy full SHA for bb3825e
crates/matrix-sdk/src/event_cache/room/mod.rs
@@ -863,9 +863,7 @@ mod private {
863
// If any in-memory chunk is a gap, don't load more events, and let the caller
864
// resolve the gap.
865
if let Some(prev_token) = self.events.rgap().map(|gap| gap.prev_token) {
866
- return Ok(LoadMoreEventsBackwardsOutcome::Gap {
867
- prev_token: Some(prev_token.clone()),
868
- });
+ return Ok(LoadMoreEventsBackwardsOutcome::Gap { prev_token: Some(prev_token) });
869
}
870
871
// Because `first_chunk` is `not `Send`, get this information before the
0 commit comments