mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 16:40:29 +00:00
[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 @@ 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 a new issue