diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-10-01 19:28:51 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-10-01 20:38:29 +0200 |
commit | 43e3db0951c34859932f20d8c82284343a82fcf1 (patch) | |
tree | 08091d82443a7e38e9859873dd9412cfbd7b8175 /lib | |
parent | 7d5a9f3f6d393c744364148568cfb9b0249789fc (diff) | |
download | pleroma-43e3db0951c34859932f20d8c82284343a82fcf1.tar.gz |
Fix returned visibility of announces in MastodonAPI
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/status_view.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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] || [], |