From: Morgan Bazalgette Date: Thu, 29 Mar 2018 22:59:49 +0000 (+0200) Subject: Add char_limit to initial-state of mastofe X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=457e0404737e02a49c68c1875ff3171e4c43dde0;p=akkoma Add char_limit to initial-state of mastofe --- diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index 70a7fa863..9428acd7e 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -564,7 +564,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do }, push_subscription: nil, accounts: accounts, - custom_emojis: mastodon_emoji + custom_emojis: mastodon_emoji, + char_limit: Keyword.get(@instance, :limit) } |> Jason.encode! conn |> put_layout(false)