forked from mirrors/akkoma
Mastodon 2.7.2 instance attributes (registrations, languages).
This commit is contained in:
parent
15aa94f40f
commit
eef1042b16
|
@ -161,6 +161,9 @@ def masto_instance(conn, _params) do
|
||||||
},
|
},
|
||||||
stats: Stats.get_stats(),
|
stats: Stats.get_stats(),
|
||||||
thumbnail: Web.base_url() <> "/instance/thumbnail.jpeg",
|
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)
|
max_toot_chars: Keyword.get(instance, :limit)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue