logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: cf0bbf320d78ee116739d65a52b5f0a8b5772a6e
parent: 690085158184e6ab216ac11b316191a7cb5ebafc
Author: Roger Braun <roger@rogerbraun.net>
Date:   Mon, 20 Nov 2017 08:54:47 +0100

MastoAPI: Add max_toot_chars.

Diffstat:

Mlib/pleroma/web/mastodon_api/mastodon_api_controller.ex3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -106,7 +106,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do user_count: 1, status_count: 2, domain_count: 3 - } + }, + max_toot_chars: Keyword.get(@instance, :limit) } json(conn, response)