Skip to main content

is_news

Function is_news 

Source
fn is_news(message: &SlackHistoryMessage, cursor: Option<&str>) -> bool
Expand description

Whether a message carries news the cursor has not passed: the message is newer than the cursor, or it was edited after the cursor. An edit keeps the message’s own ts, so the ts test alone drops every correction.