chore(ui): Remove HandleManyEventsResult.

This patch removes the `HandleManyEventsResult` type as it is no longer
used.
This commit is contained in:
Ivan Enderlin
2025-01-28 14:29:15 +01:00
parent c0b91c4b0e
commit 5e8f3b2bc8
2 changed files with 1 additions and 13 deletions

View File

@@ -1577,18 +1577,6 @@ impl TimelineController {
}
}
#[derive(Debug, Default)]
pub(super) struct HandleManyEventsResult {
/// The number of items that were added to the timeline.
///
/// Note one can't assume anything about the position at which those were
/// added.
pub items_added: u64,
/// The number of items that were updated in the timeline.
pub items_updated: u64,
}
async fn fetch_replied_to_event(
mut state: RwLockWriteGuard<'_, TimelineState>,
index: usize,

View File

@@ -49,7 +49,7 @@ use super::{
ObservableItemsTransactionEntry,
},
read_receipts::ReadReceipts,
DateDividerMode, HandleManyEventsResult, RelativePosition, TimelineFocusKind, TimelineSettings,
DateDividerMode, RelativePosition, TimelineFocusKind, TimelineSettings,
};
use crate::{
events::SyncTimelineEventWithoutContent,