Browse Source

twitter api: activity representer: add summary field for testsuite

tags/v0.9.9
William Pitcock 6 years ago
parent
commit
f03e57f764
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lib/pleroma/web/twitter_api/representers/activity_representer.ex

+ 2
- 1
lib/pleroma/web/twitter_api/representers/activity_representer.ex View File

@@ -191,7 +191,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter 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" => object["summary"]
}
end



Loading…
Cancel
Save