diff options
author | rinpatch <rinpatch@sdf.org> | 2019-09-04 14:16:56 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-09-04 14:17:23 +0300 |
commit | 3face454671bfdf2b850daf9dcb05468eb909e95 (patch) | |
tree | 69fc553ac7aa2520c726a69b6d11bedfc8a66a82 /lib | |
parent | e54694748bdcc27a3acd3ff3feac5c0c284d8b0d (diff) | |
download | pleroma-3face454671bfdf2b850daf9dcb05468eb909e95.tar.gz pleroma-3face454671bfdf2b850daf9dcb05468eb909e95.zip |
Mastodon API: Add `pleroma.thread_muted` to Status entity
Needed for pleroma-fe!941
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/status_view.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex index a4ee0b5dd..4c3c8c564 100644 --- a/lib/pleroma/web/mastodon_api/views/status_view.ex +++ b/lib/pleroma/web/mastodon_api/views/status_view.ex @@ -299,7 +299,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do content: %{"text/plain" => content_plaintext}, spoiler_text: %{"text/plain" => summary_plaintext}, expires_at: expires_at, - direct_conversation_id: direct_conversation_id + direct_conversation_id: direct_conversation_id, + thread_muted: thread_muted? } } end |