MastoAPI: Include CW.

This commit is contained in:
Roger Braun 2017-10-31 17:49:47 +01:00
commit 44295dd49a
3 changed files with 3 additions and 2 deletions

View file

@ -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,