Return visilility in twitter api, too.
This commit is contained in:
parent
434601a5c3
commit
ff007af0c2
2 changed files with 5 additions and 3 deletions
|
|
@ -262,7 +262,8 @@ defmodule Pleroma.Web.TwitterAPI.ActivityView 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
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue