twitter api: activity representer: add summary field for testsuite

This commit is contained in:
William Pitcock 2018-06-24 06:22:53 +00:00
parent 152a526237
commit f03e57f764
1 changed files with 2 additions and 1 deletions

View File

@ -191,7 +191,8 @@ def to_map(
"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" => object["summary"]
}
end