From: Roger Braun Date: Fri, 9 Feb 2018 12:43:12 +0000 (+0100) Subject: UtilController: Fix statusnet config api compatibility. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=08f458e6dfabe0eb0b6c65b9054cb87df1b6fab4;p=akkoma UtilController: Fix statusnet config api compatibility. --- diff --git a/lib/pleroma/web/twitter_api/controllers/util_controller.ex b/lib/pleroma/web/twitter_api/controllers/util_controller.ex index 0b7c64015..503719dbf 100644 --- 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") } })