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