Be serious about supported api versions

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-11-03 23:35:38 +01:00
parent 8952354711
commit 6da22b1d96

View file

@ -79,9 +79,8 @@ def render("show2.json", _) do
account: contact_account(Keyword.get(instance, :contact_username))
},
api_versions: %{
"mastodon" => 2137,
"social.pleroma" => 420,
"pl.mkljczk.pl" => 69
"mastodon" => 0,
"pl.mkljczk.pl" => 1
},
# Extra (not present in Mastodon):
pleroma: pleroma_configuration2(instance)