MastoAPI: Show source field when deleting
[akkoma] / lib / pleroma / web / mastodon_api / views / status_view.ex
index 2c49bedb36760f23698836d988eb952845b9c982..4df47f58471b1e65bec0da9e4e4837855ffa72a4 100644 (file)
@@ -333,6 +333,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
       reblog: nil,
       card: card,
       content: content_html,
+      text: opts[:with_source] && object.data["source"],
       created_at: created_at,
       reblogs_count: announcement_count,
       replies_count: object.data["repliesCount"] || 0,