Skip to main content

view_history

Function view_history 

Source
pub fn view_history(events: &[Event], viewer: &Viewer) -> Vec<Event>
Expand description

The events of a history that viewer may see, with restricted content removed and withheld identities masked. Callers must first check that the record’s current state is visible (see view_record).