Set content types settings on mastofe endpoint.

This commit is contained in:
KokaKiwi 2019-02-18 00:21:13 +01:00
parent dd5865535e
commit bf43f055dd

View File

@ -1128,7 +1128,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
compose: %{
me: "#{user.id}",
default_privacy: user.info.default_scope,
default_sensitive: false
default_sensitive: false,
allow_content_types: Config.get([:instance, :allowed_post_formats])
},
media_attachments: %{
accept_content_types: [