diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-10-31 17:49:47 +0100 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-10-31 17:49:47 +0100 |
commit | 44295dd49ad004b8c7a289387e913b1234ad1e61 (patch) | |
tree | 8bddf644a42d04020370aeb1b2c3af27029d3cfc /lib | |
parent | 04217f52c92d5a287b317e10be4b42bf74b30e07 (diff) | |
download | pleroma-44295dd49ad004b8c7a289387e913b1234ad1e61.tar.gz |
MastoAPI: Include CW.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/status_view.ex | 2 |
1 files changed, 1 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 48703e657..09a2ca404 100644 --- a/lib/pleroma/web/mastodon_api/views/status_view.ex +++ b/lib/pleroma/web/mastodon_api/views/status_view.ex @@ -93,7 +93,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do favourited: !!favorited, muted: false, sensitive: sensitive, - spoiler_text: "", + spoiler_text: object["summary"] || "", visibility: "public", media_attachments: attachments, mentions: mentions, |