Skip to main content

fetch_pinned

Function fetch_pinned 

Source
pub async fn fetch_pinned(
    client: &Client,
    my_pk: PublicKey,
) -> Result<PinnedChats, String>
Expand description

Fetch the relay copy. A copy older than our last publish loses to the local mirror — otherwise a relay still serving the pre-edit event would undo the pin the user just made.