Updated Local only posting (markdown)

Darius Kazemi 2022-12-01 21:32:36 -08:00
parent f62c76aace
commit 0928c700f7
1 changed files with 4 additions and 0 deletions

@ -51,6 +51,10 @@ As of Hometown v1.0.4 (released May 17, 2020), if you use a 3rd party app like [
* If you reply to a local-only post, your reply will be local-only.
* If you reply to a federated post, then your reply will be federated. This means that you can still chat with people on other servers even if you're set to local-only by default.
### API exposure for 3rd party clients
As of Hometown v1.0.8, you can access the `api/v1/preferences` endpoint (with appropriate permissions as usual) and you will get a `posting:default:federation` key in the object that is returned. If the value is `true`, then the user has their posts set to federate by default and any "local-only" posting toggle should be set to federate when the user goes to compose a brand new post. If the value is `false` then the user has their posts set to local-only by default and any "local-only" posting toggle should be set to NOT federate when the user goes to compose a brand new post.
## Who
This feature is based on [the work of Renato Lond](https://github.com/tootsuite/mastodon/pull/8427), which is itself based on a feature in the [Mastodon Glitch Edition](https://glitch-soc.github.io/docs/) fork. Third party application interactions were redesigned based on the suggestions of [@lostfictions](https://github.com/lostfictions). The idea for an emoji triggering a local post comes from Mastodon Glitch Edition, and the idea for it to be a custom emoji called `local_only` comes from [@t54r4n1@mspsocial.net](https://mspsocial.net/@t54r4n1).