mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-06 23:15:08 -04:00
chore(ui): Remove HandleManyEventsResult.
This patch removes the `HandleManyEventsResult` type as it is no longer used.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -49,7 +49,7 @@ use super::{
|
||||
ObservableItemsTransactionEntry,
|
||||
},
|
||||
read_receipts::ReadReceipts,
|
||||
DateDividerMode, HandleManyEventsResult, RelativePosition, TimelineFocusKind, TimelineSettings,
|
||||
DateDividerMode, RelativePosition, TimelineFocusKind, TimelineSettings,
|
||||
};
|
||||
use crate::{
|
||||
events::SyncTimelineEventWithoutContent,
|
||||
|
||||
Reference in New Issue
Block a user