Function fractal::session::model::room::event::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.