summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-09-04 14:16:56 +0300
committerrinpatch <rinpatch@sdf.org>2019-09-04 14:17:23 +0300
commit3face454671bfdf2b850daf9dcb05468eb909e95 (patch)
tree69fc553ac7aa2520c726a69b6d11bedfc8a66a82 /lib
parente54694748bdcc27a3acd3ff3feac5c0c284d8b0d (diff)
downloadpleroma-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.ex3
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