fractal::session::model::room::event

Function count_as_unread

Source
pub fn count_as_unread(content: &TimelineItemContent) -> bool
Expand description

Whether the given event can count as an unread message.

This follows the algorithm in MSC2654, excluding events that we don’t show in the timeline.