From: William Pitcock Date: Sat, 23 Jun 2018 06:08:09 +0000 (+0000) Subject: twitterapi: activity view: expose message summary text X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=3b799f22b7cd6afd9fb8bc8c7800ec770585a957;p=akkoma twitterapi: activity view: expose message summary text --- diff --git a/lib/pleroma/web/twitter_api/views/activity_view.ex b/lib/pleroma/web/twitter_api/views/activity_view.ex index f418249e2..55b5287f5 100644 --- a/lib/pleroma/web/twitter_api/views/activity_view.ex +++ b/lib/pleroma/web/twitter_api/views/activity_view.ex @@ -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