Fix returned visibility of announces in MastodonAPI
This commit is contained in:
parent
7d5a9f3f6d
commit
43e3db0951
@ -125,7 +125,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
|||||||
pinned: pinned?(activity, user),
|
pinned: pinned?(activity, user),
|
||||||
sensitive: false,
|
sensitive: false,
|
||||||
spoiler_text: "",
|
spoiler_text: "",
|
||||||
visibility: "public",
|
visibility: get_visibility(activity),
|
||||||
media_attachments: reblogged[:media_attachments] || [],
|
media_attachments: reblogged[:media_attachments] || [],
|
||||||
mentions: mentions,
|
mentions: mentions,
|
||||||
tags: reblogged[:tags] || [],
|
tags: reblogged[:tags] || [],
|
||||||
|
Loading…
Reference in New Issue
Block a user