pub trait PreviousEventsProvider: Send + Sync {
// Required method
fn for_room(&self, room_id: &RoomId) -> Vector<SyncTimelineEvent>;
}
Expand description
Provider for timeline events prior to the current sync.
Required Methods§
sourcefn for_room(&self, room_id: &RoomId) -> Vector<SyncTimelineEvent>
fn for_room(&self, room_id: &RoomId) -> Vector<SyncTimelineEvent>
Returns the list of known timeline events, in sync order, for the given room.