Skip to main content

names_another_account

Function names_another_account 

Source
pub fn names_another_account(
    collection: &str,
    record: &Value,
    account: &str,
    handle: Option<&str>,
) -> bool
Expand description

Whether this record names an account other than the one writing it.

account is the writing account’s DID and handle the handle it holds now, if it has one. A record naming only the writing account — a reply into its own thread, a like of its own post — is not a contact and is not counted.