"Followers only" does not send a note to other instances.
Environment
- Installation type (OTP or From Source):
Using docker & docker-compose fairy-rockets/sabbat-compose: docker-compose scripts for Pleroma instance
Here is my instance:
- Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE):
2.6.1
- Elixir version (
elixir -v
for from source installations, N/A for OTP):
docker.io/library/elixir:1.13-alpine
- Operating system:
Using Ubuntu 20.04 as a docker host.
1.13-alpine
image is based on alpine:3.17
image.
- docker-elixir/1.13/alpine/Dockerfile at 328f4c09d39b06502a90fa0c5bb30d6972593fac · erlef/docker-elixir
- docker-erlang-otp/24/alpine/Dockerfile at c1005d634453849462622c34cea9208ab3c63a2e · erlang/docker-erlang-otp
- PostgreSQL version (
psql -V
):
14.10
Bug description
When I send "follower-only" note, followers in the same instance can see that message, but followers in other instances can't.
To debug, I enabled
config :logger, :console, level: :debug
Then, I send a new "follower-only" note, and observe the log, but I can't see the debug message like that:
pleroma_web | 07:59:10.361 [debug] Federating https://sabbat.hexe.net/activities/...... to https://mstdn.jp/inbox
Maybe this affects this decision, but I'm not sure.
https://git.pleroma.social/pleroma/pleroma/-/blob/develop/lib/pleroma/web/common_api.ex#L370-372
def public_announce?(_, %{visibility: visibility})
when visibility in ~w{public unlisted private direct},
do: visibility in ~w(public unlisted)
def public_announce?(object, _) do
Visibility.public?(object)
end
Edited by Kaede Fujisaki