1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 10:59:17 +00:00

[Pleroma.Web.MastodonApi.MastodonApiController] Add initial_state.meta.max_toot_chars

This commit is contained in:
Haelwenn (lanodan) Monnier 2018-06-23 11:54:04 +02:00
parent a05c0ff61d
commit 5a4a45b875
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE

View file

@ -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}",