Skip to main content

direction_of

Function direction_of 

Source
fn direction_of(
    order_by: Option<&MediaSortOrder>,
    dir: Option<Direction>,
) -> Direction
Expand description

Default direction is newest first (Backward) when the client sets neither order_by nor dir, matching Synapse’s back-compat behaviour.