[Pleroma.Web.MastodonApi.MastodonApiController] Add initial_state.meta.max_toot_chars
This commit is contained in:
parent
a05c0ff61d
commit
5a4a45b875
1 changed files with 2 additions and 1 deletions
|
@ -865,7 +865,8 @@ def index(%{assigns: %{user: user}} = conn, _params) do
|
|||
delete_modal: true,
|
||||
auto_play_gif: false,
|
||||
display_sensitive_media: false,
|
||||
reduce_motion: false
|
||||
reduce_motion: false,
|
||||
max_toot_chars: Keyword.get(@instance, :limit)
|
||||
},
|
||||
compose: %{
|
||||
me: "#{user.id}",
|
||||
|
|
Loading…
Reference in a new issue