From: William Pitcock Date: Sun, 24 Jun 2018 06:22:53 +0000 (+0000) Subject: twitter api: activity representer: add summary field for testsuite X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f03e57f7647f4d302359680c7eb7fe48433c7beb;p=akkoma twitter api: activity representer: add summary field for testsuite --- diff --git a/lib/pleroma/web/twitter_api/representers/activity_representer.ex b/lib/pleroma/web/twitter_api/representers/activity_representer.ex index bb77e61f3..26bfb79af 100644 --- a/lib/pleroma/web/twitter_api/representers/activity_representer.ex +++ b/lib/pleroma/web/twitter_api/representers/activity_representer.ex @@ -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