Skip to main content

followed_first

Function followed_first 

Source
pub fn followed_first(
    people: Vec<PublicKey>,
    followed: &HashSet<PublicKey>,
) -> Vec<PublicKey>
Expand description

people, with those of them in followed first, and otherwise in the order they were in. A relay ranks by what a profile says, which anyone can say: the people an account follows are the ones it meant, when a name is theirs and others’ too.