From ae4ec996a4c0e1b39c38ae754149ca829c8050cd Mon Sep 17 00:00:00 2001 From: Darius Kazemi Date: Mon, 2 Jan 2023 19:33:38 -0800 Subject: [PATCH] Add `local_only` to FEDERATION.md --- FEDERATION.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/FEDERATION.md b/FEDERATION.md index cd1957cbd..2cccac037 100644 --- a/FEDERATION.md +++ b/FEDERATION.md @@ -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.