1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Web.Preload.Providers.StatusNet do
6 alias Pleroma.Web.Preload.Providers.Provider
7 alias Pleroma.Web.TwitterAPI.UtilView
10 @config_url :"/api/statusnet/config.json"
13 def generate_terms(_params) do
18 defp build_config_tag(acc) do
19 instance = Pleroma.Config.get(:instance)
20 info_data = UtilView.status_net_config(instance)
22 Map.put(acc, @config_url, info_data)