[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 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController 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}",