matrix_sdk_base::read_receipts

Trait PreviousEventsProvider

Source
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§

Source

fn for_room(&self, room_id: &RoomId) -> Vector<SyncTimelineEvent>

Returns the list of known timeline events, in sync order, for the given room.

Implementations on Foreign Types§

Source§

impl PreviousEventsProvider for ()

Implementors§