From: Thibaut Girka Date: Tue, 1 Oct 2019 17:28:51 +0000 (+0200) Subject: Fix returned visibility of announces in MastodonAPI X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=43e3db0951c34859932f20d8c82284343a82fcf1;p=akkoma Fix returned visibility of announces in MastodonAPI --- diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex index 3262427ec..9b8dd3086 100644 --- a/lib/pleroma/web/mastodon_api/views/status_view.ex +++ b/lib/pleroma/web/mastodon_api/views/status_view.ex @@ -125,7 +125,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do pinned: pinned?(activity, user), sensitive: false, spoiler_text: "", - visibility: "public", + visibility: get_visibility(activity), media_attachments: reblogged[:media_attachments] || [], mentions: mentions, tags: reblogged[:tags] || [],