diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/pleroma/web/mastodon_api/mastodon_api_controller.ex | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index 056be49b0..2874dfb6d 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -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: [ | 
