pl-api: add blur filter action feature definition for GoToSocial

This commit is contained in:
nicole mikołajczyk
2025-08-13 14:58:34 +02:00
committed by GitHub
parent aab55f6131
commit fcd3c25d6e

View File

@ -878,7 +878,10 @@ const getFeatures = (instance: Instance) => {
v.software === MASTODON,
]),
filtersV2BlurAction: v.software === MASTODON && gte(v.version, '4.4.0'),
filtersV2BlurAction: any([
v.software === GOTOSOCIAL && gte(v.version, '0.20.0'),
v.software === MASTODON && gte(v.version, '4.4.0'),
]),
/**
* Allows setting the focal point of a media attachment.