[Pleroma.Web.MastodonApi.MastodonApiController] Add initial_state.meta.max_toot_chars
This commit is contained in:
parent
a05c0ff61d
commit
5a4a45b875
@ -865,7 +865,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|
|||||||
delete_modal: true,
|
delete_modal: true,
|
||||||
auto_play_gif: false,
|
auto_play_gif: false,
|
||||||
display_sensitive_media: false,
|
display_sensitive_media: false,
|
||||||
reduce_motion: false
|
reduce_motion: false,
|
||||||
|
max_toot_chars: Keyword.get(@instance, :limit)
|
||||||
},
|
},
|
||||||
compose: %{
|
compose: %{
|
||||||
me: "#{user.id}",
|
me: "#{user.id}",
|
||||||
|
Loading…
Reference in New Issue
Block a user