From 2a0d701fea8809a3f3220b84c056a67c9497afab Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 5 Jan 2024 14:53:17 -0600 Subject: [PATCH] features: enable Mastodon admin on Ditto --- src/utils/features.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/features.ts b/src/utils/features.ts index a89a5c86e..66aa66854 100644 --- a/src/utils/features.ts +++ b/src/utils/features.ts @@ -682,6 +682,7 @@ const getInstanceFeatures = (instance: Instance) => { * @see POST /api/v1/admin/accounts/:account_id/approve */ mastodonAdmin: any([ + v.software === DITTO, v.software === MASTODON && gte(v.compatVersion, '2.9.1'), v.software === PLEROMA && v.build === REBASED && gte(v.version, '2.4.50'), ]),