Skip to main content

arrange

Function arrange 

Source
fn arrange(notes: HashMap<EventId, Note>) -> Vec<ThreadRow>
Expand description

notes in reading order: each under the note it answers.

A note whose parent isn’t among them goes under the conversation’s root if that is, since it is still part of what the root started. Failing both it stands at the top, among the notes that answer nothing.