Merge branch 'next-conditional-profile' into 'next'

Next: EditProfile: conditional features

See merge request soapbox-pub/soapbox-fe!1232
This commit is contained in:
Alex Gleason 2022-04-17 02:31:28 +00:00
commit 9f962ccec3
2 changed files with 2 additions and 0 deletions

View file

@ -142,6 +142,8 @@ const getInstanceFeatures = (instance: Instance) => {
trendingTruths: v.software === TRUTHSOCIAL,
trendingStatuses: v.software === MASTODON && gte(v.compatVersion, '3.5.0'),
pepe: v.software === TRUTHSOCIAL,
accountLocation: v.software === TRUTHSOCIAL,
accountWebsite: v.software === TRUTHSOCIAL,
// FIXME: long-term this shouldn't be a feature,
// but for now we want it to be overrideable in the build