Twitter API: Support Mastodon-style bios
[akkoma] / lib / pleroma / web / twitter_api / views / activity_view.ex
index f418249e2d616c9539b9f1ba115effcb93fac6ce..55b5287f5e2bb4e94cfcde2bdc7ea646a2009f00 100644 (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