From bc8e9254cf4b748dcd9d3e256cc032f392e6177a Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 16 Apr 2022 21:16:01 -0500 Subject: [PATCH] EditProfile: conditional features --- app/soapbox/features/edit_profile/index.js | Bin 17103 -> 17275 bytes app/soapbox/utils/features.ts | 2 ++ 2 files changed, 2 insertions(+) diff --git a/app/soapbox/features/edit_profile/index.js b/app/soapbox/features/edit_profile/index.js index b75995bc9ccf331b7fdae91f16ec334a355d8381..b683e8f199a49aaacd29b2f531fd459798d6a19f 100644 GIT binary patch delta 389 zcmX@#%J{pDal>scJp~|0&d)0@QAkToEGaEYEmp8qNKY+sgYq`^)i7f67!NL zU*}TifGM2(jce8B=iK_DaFNaGiZaZK)i4EmiOI?NrFkVj`N@eTnfZANYHA7^TnY-4 z1Jo5K&($`c+^=FW`M8eIWHDvY$p%IolRv0POg?ALIhkKod2*hK_~Z%7Qj@E!wI_F} zDouWEAUN4qS6olCmJ4VE3}Dz5o|;sgS(1uj6+b7(WK}gi6zgi##G%%4PhJXSBU>o~ zbRyJBCe7N-e(K)*5^#T|<|bz5_+$bD4eX=I3i>LO=WDZ0mNnFw{M9UYa<8G`t{$-LaklO4DhIVva=mlhP{7nKyd<|bz5_+%EBSSh5Zmbj%RmXsEy z7HbrjB$lM=0Yx;_GxLC)yyR4MO-;R2nCi`UxJ^X`F$~!(sVKudnNvr6a-~Y{rwKYETiD1~Rpr$t2(Oi7;Ttmaj-R8lQ=jiEA=C_ERoMWLjnb%Nc@(K%u Q$+`OaO!{`4IW3F00Fu04X#fBK diff --git a/app/soapbox/utils/features.ts b/app/soapbox/utils/features.ts index 94c0da5746..2fdc310f90 100644 --- a/app/soapbox/utils/features.ts +++ b/app/soapbox/utils/features.ts @@ -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