diff options
author | Roger Braun <roger@rogerbraun.net> | 2018-02-09 13:43:12 +0100 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2018-02-09 13:43:12 +0100 |
commit | 08f458e6dfabe0eb0b6c65b9054cb87df1b6fab4 (patch) | |
tree | 45a0abf6568454ab6023a7fcb6a534224a2e86dc /lib | |
parent | af854f7e01efa24d57b68283a9884d3fc80d6438 (diff) | |
download | pleroma-08f458e6dfabe0eb0b6c65b9054cb87df1b6fab4.tar.gz |
UtilController: Fix statusnet config api compatibility.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/twitter_api/controllers/util_controller.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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") } }) |