logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 08f458e6dfabe0eb0b6c65b9054cb87df1b6fab4
parent: af854f7e01efa24d57b68283a9884d3fc80d6438
Author: Roger Braun <roger@rogerbraun.net>
Date:   Fri,  9 Feb 2018 13:43:12 +0100

UtilController: Fix statusnet config api compatibility.

Diffstat:

Mlib/pleroma/web/twitter_api/controllers/util_controller.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/web/twitter_api/controllers/util_controller.ex b/lib/pleroma/web/twitter_api/controllers/util_controller.ex @@ -121,7 +121,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do site: %{ name: Keyword.get(@instance, :name), server: Web.base_url, - textlimit: Keyword.get(@instance, :limit), + textlimit: to_string(Keyword.get(@instance, :limit)), closed: if(Keyword.get(@instance, :registrations_open), do: "0", else: "1") } })