Skip to main content

snippet

Function snippet 

Source
pub(super) fn snippet(pdu: &Pdu, user_id: &UserId) -> Cow<'static, str>
Expand description

What a notification says in the email.

A message shows its body on one line, cut at SNIPPET_CHARS characters, and never its formatted body. An encrypted event shows only that it is one.