diff options
author | rinpatch <rinpatch@sdf.org> | 2019-04-22 11:53:37 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-04-22 11:54:27 +0300 |
commit | f60d072bbb63edd63e72e81439e31ebaf91b0f3f (patch) | |
tree | d74bb636bc9e12d562e2b92deb7f650703b2c364 /lib | |
parent | 20deff75f153ffbd5076e992c7ed3c19ac551535 (diff) | |
download | pleroma-f60d072bbb63edd63e72e81439e31ebaf91b0f3f.tar.gz |
Add `pleroma.in_reply_to_account_acct` to MastoAPI status entity
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/status_view.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex index 17c33080b..decacb0f5 100644 --- a/lib/pleroma/web/mastodon_api/views/status_view.ex +++ b/lib/pleroma/web/mastodon_api/views/status_view.ex @@ -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} } |