From 6da22b1d969942a3f8dfec2bbda9143376ecf652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sun, 3 Nov 2024 23:35:38 +0100 Subject: [PATCH] Be serious about supported api versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- lib/pleroma/web/mastodon_api/views/instance_view.ex | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/pleroma/web/mastodon_api/views/instance_view.ex b/lib/pleroma/web/mastodon_api/views/instance_view.ex index ce0588e5b9..0de04dfeca 100644 --- a/lib/pleroma/web/mastodon_api/views/instance_view.ex +++ b/lib/pleroma/web/mastodon_api/views/instance_view.ex @@ -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)