From 343a210d968ef2e7c86642a582b2f0dbc9ae1538 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 19 Oct 2021 11:28:48 -0500 Subject: [PATCH] v2 Media API: disable for Pleroma (use v1) --- app/soapbox/utils/features.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/soapbox/utils/features.js b/app/soapbox/utils/features.js index f81a87d65..058eeec5b 100644 --- a/app/soapbox/utils/features.js +++ b/app/soapbox/utils/features.js @@ -29,7 +29,8 @@ export const getFeatures = createSelector([ trends: v.software === MASTODON && gte(v.compatVersion, '3.0.0'), mediaV2: any([ v.software === MASTODON && gte(v.compatVersion, '3.1.3'), - v.software === PLEROMA && gte(v.version, '2.1.0'), + // Even though Pleroma supports these endpoints, it has disadvantages + // v.software === PLEROMA && gte(v.version, '2.1.0'), ]), directTimeline: any([ v.software === MASTODON && lt(v.compatVersion, '3.0.0'),