@ -100,10 +100,10 @@ async function checkIsUserConfigFeatureReleased() {
}
async function checkIsDisappearMessageV2FeatureReleased() {
return true ;
// ((await checkIsFeatureReleased('disappearing_messages')) ||
// !!process.env.MULTI?.toLocaleLowerCase().includes('disappear_v2') // FIXME to remove after QA
// );
return (
( await checkIsFeatureReleased ( 'disappearing_messages' ) ) ||
! ! process . env . MULTI ? . toLocaleLowerCase ( ) . includes ( 'disappear_v2' )
) ; // FIXME to remove after QA
}
function isUserConfigFeatureReleasedCached ( ) : boolean {
@ -112,11 +112,10 @@ function isUserConfigFeatureReleasedCached(): boolean {
// NOTE Make sure to call checkIsDisappearMessageV2FeatureReleased at least once and then use this. It's mostly used in components that are rendered where we don't want to do async calls
function isDisappearMessageV2FeatureReleasedCached ( ) : boolean {
return true ;
// return (
// !!isDisappearingMessageFeatureReleased ||
// !!process.env.MULTI?.toLocaleLowerCase().includes('disappear_v2') // FIXME to remove after QA
// );
return (
! ! isDisappearingMessageFeatureReleased ||
! ! process . env . MULTI ? . toLocaleLowerCase ( ) . includes ( 'disappear_v2' ) // FIXME to remove after QA
) ;
}
export const ReleasedFeatures = {