Skip to main content

read

Function read 

Source
pub fn read(
    event: &Event,
    account: PublicKey,
    at_hand: &HashMap<EventId, Note>,
) -> Option<Notification>
Expand description

What event tells account of, if anything, with at_hand the notes such events are about, as far as they were found.

Nothing, of what the account did itself, of an event that doesn’t name it, and of what is about a note that is at hand and is somebody else’s: a reaction to another’s note in a conversation the account is named in is no news for it.