Allow fine-grained announce visibilities #941

Merged
Oneric merged 3 commits from Oneric/akkoma:announce-visibility into develop 2025-06-10 18:34:00 +00:00
Owner

Mastodon supports all standard visibilities except direct here, but until now we artificially limited this to either fully public or followers-only for no reason.

This complements AkkomaGang/akkoma-fe#440

Mastodon supports all standard visibilities except direct here, but until now we artificially limited this to either fully public or followers-only for no reason. This complements https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/440
Oneric added 3 commits 2025-06-09 19:34:07 +00:00
To make it usable in scenarios without a draft.
The next commit adds a user for the new function.

This does technically change behaviour a bit, since
"private" relies to "direct" messages no longer implicitly
address the parent post’s actor, but this seems like a contrived
scenario and was likely never intended to actually occur anyway
as cocorroborated by the absence of tests for it.
They won’t receive local-only posts anyway
so it makes no sense to list them as recipients.
Allow fine-grained announce visibilities
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test/2 Pipeline was successful
ci/woodpecker/pr/test/1 Pipeline was successful
ci/woodpecker/pr/build-arm64 Pipeline was successful
ci/woodpecker/pr/build-amd64 Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pull_request_closed/lint Pipeline was successful
ci/woodpecker/pull_request_closed/test/1 Pipeline was successful
ci/woodpecker/pull_request_closed/test/2 Pipeline was successful
ci/woodpecker/pull_request_closed/build-arm64 Pipeline was successful
ci/woodpecker/pull_request_closed/build-amd64 Pipeline was successful
ci/woodpecker/pull_request_closed/docs Pipeline was successful
954f6f7de0
Mastodon supports all standard visibilities except direct here,
but until now we artificially limited this to either fully public
or followers-only.
floatingghost approved these changes 2025-06-10 17:27:44 +00:00
floatingghost left a comment
Owner

seems all good to me

seems all good to me
Oneric merged commit 42022d5f48 into develop 2025-06-10 18:34:00 +00:00
Oneric deleted branch announce-visibility 2025-06-10 18:34:00 +00:00
Sign in to join this conversation.
No description provided.