Skip to main content

named_attachment

Function named_attachment 

Source
pub(crate) fn named_attachment(line: &str, id: &str) -> Option<Option<String>>
Expand description

Whether line, a transcript line as a device is shown it, is a person’s message whose attachment list names id: None when it doesn’t, else the fingerprint the list’s path for it carries (<id>.<fp>.send.<ext>), if any, so the copy the message was sent is the one served even after the send edge changed. A tool’s output or the agent’s own words that happen to hold the id don’t count.