From: Rin Toshaka Date: Fri, 7 Dec 2018 19:03:30 +0000 (+0100) Subject: Add uploadlimit to Twitter API config X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=578051809f38c3d5d65155e264203c3b978a10a8;p=akkoma Add uploadlimit to Twitter API config --- diff --git a/lib/pleroma/web/twitter_api/controllers/util_controller.ex b/lib/pleroma/web/twitter_api/controllers/util_controller.ex index 092779010..36ecefa76 100644 --- a/lib/pleroma/web/twitter_api/controllers/util_controller.ex +++ b/lib/pleroma/web/twitter_api/controllers/util_controller.ex @@ -165,6 +165,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do description: Keyword.get(instance, :description), server: Web.base_url(), textlimit: to_string(Keyword.get(instance, :limit)), + uploadlimit: to_string(Keyword.get(instance, :upload_limit)), closed: if(Keyword.get(instance, :registrations_open), do: "0", else: "1"), private: if(Keyword.get(instance, :public, true), do: "0", else: "1"), vapidPublicKey: vapid_public_key