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 @@ defmodule Pleroma.Web.TwitterAPI.ActivityView do
"tags" => tags,
"activity_type" => "post",
"possibly_sensitive" => possibly_sensitive,
"visibility" => Pleroma.Web.MastodonAPI.StatusView.get_visibility(object)
"visibility" => Pleroma.Web.MastodonAPI.StatusView.get_visibility(object),
"summary" => summary
}
end