Skip to main content

Module contacts

Module contacts 

Source
Expand description

A contact list (kind 3): who an account follows.

There is one list for an account, and every new one replaces the last everywhere. Following or unfollowing someone is therefore the newest list written again with one person more or less, and everything else in it as it was: the others followed, whatever else their tags say, and the content, where older clients keep their relays.

Functions§

changed
The list that follows person (follow) or doesn’t, and is otherwise list, written at now or, if list claims to be from later, after it: it has to be the newer of the two. With no list to start from, one that follows person alone.
followed
The people list follows, each once, in the list’s order.
follows 🔒
Whether tag says person is followed.