Skip to main content

one_each

Function one_each 

Source
pub fn one_each(texts: Vec<Text>, region: Option<&Region>) -> Vec<Text>
Expand description

Every phone’s texts with each text once (docs/texts.md, “Each text once”): a text found in several phones’ logs, as after a restore onto a new phone, once; a text there twice in one phone’s log (truly sent twice), twice: for each fingerprint (Print::key), as many as the phone holding most, its copies paired with the others’ in their logs’ order. The copy kept of each pair has the most media here, else is not deleted, else is the first phone’s by name; it is said deleted only when every copy is, and names the others (Text::also). Oldest first, as read_logs. For what the page, the search and agents read; the phones’ logs themselves keep every copy (nothing is lost if one goes).