Add `local_only` to FEDERATION.md

This commit is contained in:
Darius Kazemi 2023-01-02 19:33:38 -08:00
parent 84d86aa0bd
commit ae4ec996a4
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,7 @@
## ActivityPub federation in Hometown
Hometown federates just like Mastodon, so the document below (identical to Mastodon's) still applies. The main difference is that any given `Note` object will have a `localOnly` property that is a boolean. While other servers will never see this boolean set to anything but `false` (since by definition these messages are not federated), _clients_ will see this property and can now render a post differently based on whether it is local-only.
## ActivityPub federation in Mastodon
Mastodon largely follows the ActivityPub server-to-server specification but it makes uses of some non-standard extensions, some of which are required for interacting with Mastodon at all.