Skip to content

Commit 2b048d8

Browse files
committed
doc(sdk): Events from BackPaginationOutcome are deduplicated…
This patch removes a `TODO` in `BackPaginationOutcome`. Events it contains are deduplicated by the `EventCache` (see `event_cache::Deduplicator`) when inserted inside `RoomEventCache`.
1 parent 36f27cc commit 2b048d8

File tree

1 file changed

+0
-2
lines changed
  • crates/matrix-sdk/src/event_cache

1 file changed

+0
-2
lines changed

crates/matrix-sdk/src/event_cache/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -671,8 +671,6 @@ pub struct BackPaginationOutcome {
671671
/// Events are presented in reverse order: the first element of the vec,
672672
/// if present, is the most "recent" event from the chunk (or
673673
/// technically, the last one in the topological ordering).
674-
///
675-
/// Note: they're not deduplicated (TODO: smart reconciliation).
676674
pub events: Vec<TimelineEvent>,
677675
}
678676

0 commit comments

Comments
 (0)