mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-20 08:30:59 +00:00
Set content types settings on mastofe endpoint.
This commit is contained in:
parent
dd5865535e
commit
bf43f055dd
1 changed files with 2 additions and 1 deletions
|
@ -1128,7 +1128,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|
||||||
compose: %{
|
compose: %{
|
||||||
me: "#{user.id}",
|
me: "#{user.id}",
|
||||||
default_privacy: user.info.default_scope,
|
default_privacy: user.info.default_scope,
|
||||||
default_sensitive: false
|
default_sensitive: false,
|
||||||
|
allow_content_types: Config.get([:instance, :allowed_post_formats])
|
||||||
},
|
},
|
||||||
media_attachments: %{
|
media_attachments: %{
|
||||||
accept_content_types: [
|
accept_content_types: [
|
||||||
|
|
Loading…
Reference in a new issue