features: enable Mastodon admin on Ditto

This commit is contained in:
Alex Gleason 2024-01-05 14:53:17 -06:00
parent 3e076e5e9a
commit 2a0d701fea
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 0 deletions

View File

@ -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'),
]),