logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: dca26f3655b97893513b96a5d17858241dca3a81
parent: dde5ad9e37f95ccec8cb703a23848ab58f62843a
Author: lain <lain@soykaf.club>
Date:   Sun, 20 May 2018 19:22:26 +0200

Fix specs.

Diffstat:

Mlib/pleroma/web/twitter_api/representers/activity_representer.ex3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/pleroma/web/twitter_api/representers/activity_representer.ex b/lib/pleroma/web/twitter_api/representers/activity_representer.ex @@ -197,7 +197,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do "external_url" => object["external_url"] || object["id"], "tags" => tags, "activity_type" => "post", - "possibly_sensitive" => possibly_sensitive + "possibly_sensitive" => possibly_sensitive, + "visibility" => Pleroma.Web.MastodonAPI.StatusView.get_visibility(object) } end