Merge branch 'ditto-scopes' into 'develop'

Disable privacyScopes on Ditto

See merge request soapbox-pub/soapbox!2633
This commit is contained in:
Alex Gleason 2023-07-27 15:13:46 +00:00
commit 4fca1c2393

View file

@ -760,7 +760,7 @@ const getInstanceFeatures = (instance: Instance) => {
* Can set privacy scopes on statuses.
* @see POST /api/v1/statuses
*/
privacyScopes: v.software !== TRUTHSOCIAL,
privacyScopes: ![TRUTHSOCIAL, DITTO].includes(v.software!),
/**
* A directory of discoverable profiles from the instance.