twitterapi: activity view: expose message summary text

This commit is contained in:
William Pitcock 2018-06-23 06:08:09 +00:00
parent fe4387077a
commit 3b799f22b7

View file

@ -255,7 +255,8 @@ def render(
"tags" => tags, "tags" => tags,
"activity_type" => "post", "activity_type" => "post",
"possibly_sensitive" => possibly_sensitive, "possibly_sensitive" => possibly_sensitive,
"visibility" => Pleroma.Web.MastodonAPI.StatusView.get_visibility(object) "visibility" => Pleroma.Web.MastodonAPI.StatusView.get_visibility(object),
"summary" => summary
} }
end end