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.
Timeline::latest_event()
1 parent 9ccf94d commit b1c09edCopy full SHA for b1c09ed
bindings/matrix-sdk-ffi/src/timeline/mod.rs
@@ -572,12 +572,6 @@ impl Timeline {
572
Ok(Arc::new(EventTimelineItem(item)))
573
}
574
575
- pub async fn latest_event(&self) -> Option<Arc<EventTimelineItem>> {
576
- let latest_event = self.inner.latest_event().await;
577
-
578
- latest_event.map(|item| Arc::new(EventTimelineItem(item)))
579
- }
580
581
/// Redacts an event from the timeline.
582
///
583
/// Only works for events that exist as timeline items.
0 commit comments