Add `pleroma.in_reply_to_account_acct` to MastoAPI status entity
[akkoma] / lib / pleroma / web / mastodon_api / views / status_view.ex
index 17c33080bb55fed51f309201d454e20b78a5bc70..decacb0f5542262fdee0bda29ae016ec181824e3 100644 (file)
@@ -238,6 +238,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
       pleroma: %{
         local: activity.local,
         conversation_id: get_context_id(activity),
+        in_reply_to_account_acct: reply_to_user && reply_to_user.nickname,
         content: %{"text/plain" => content_plaintext},
         spoiler_text: %{"text/plain" => summary_plaintext}
       }