Skip to main content

sender

Function sender 

Source
pub fn sender(
    state: &ChatState,
    gate: &StreamGate,
    npub: &str,
    fallback: &str,
) -> Sender
Expand description

Nickname, then name, then display name, else fallback; masked with no avatar when the gate hides them. Every platform’s notification names a sender through this.