Expand description
Profile message handlers for Avestruz.
A profile is a page: who someone is and what they say of themselves, and under that their notes, newest first. It opens with whatever is known of them already. The event store is asked for the rest and answers within the frame; the relays are asked at the same time, for their notes and for whether they have said something newer of themselves.
The notes are a list like the feed’s, kept and filled as the feed is
(see crate::handlers::feed).
The name at a domain someone gives as theirs (NIP-05) is checked with that domain when their profile is open, and only then: a feed of notes would have a hundred domains asked, and told who reads what.
Following and unfollowing change the account’s contact list, which is one list everywhere and replaced whole. It is asked of the relays again just before it is changed, one change at a time, and the feed starts over with whoever it then follows.