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)) account: contact_account(Keyword.get(instance, :contact_username))
}, },
api_versions: %{ api_versions: %{
"mastodon" => 2137, "mastodon" => 0,
"social.pleroma" => 420, "pl.mkljczk.pl" => 1
"pl.mkljczk.pl" => 69
}, },
# Extra (not present in Mastodon): # Extra (not present in Mastodon):
pleroma: pleroma_configuration2(instance) pleroma: pleroma_configuration2(instance)