forked from YokaiRick/akkoma
Mastodon 2.7.2 instance attributes (registrations, languages).
This commit is contained in:
parent
15aa94f40f
commit
eef1042b16
1 changed files with 3 additions and 0 deletions
|
@ -161,6 +161,9 @@ def masto_instance(conn, _params) do
|
|||
},
|
||||
stats: Stats.get_stats(),
|
||||
thumbnail: Web.base_url() <> "/instance/thumbnail.jpeg",
|
||||
languages: ["en"],
|
||||
registrations: Pleroma.Config.get([:instance, :registrations_open]),
|
||||
# Extra (not present in Mastodon):
|
||||
max_toot_chars: Keyword.get(instance, :limit)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue