From 7a0dff1f3315abfc0b31825c7dbe8360f1678da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Tue, 21 Jun 2022 22:43:51 +0000 Subject: [PATCH] Enable post editing on Pleroma --- app/soapbox/utils/features.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/soapbox/utils/features.ts b/app/soapbox/utils/features.ts index 0d9d8e9b7..2e644ef15 100644 --- a/app/soapbox/utils/features.ts +++ b/app/soapbox/utils/features.ts @@ -206,7 +206,10 @@ const getInstanceFeatures = (instance: Instance) => { v.software === PLEROMA && gte(v.version, '0.9.9'), ]), - editStatuses: v.software === MASTODON && gte(v.version, '3.5.0'), + editStatuses: any([ + v.software === MASTODON && gte(v.version, '3.5.0'), + features.includes('editing'), + ]), /** * Soapbox email list.