chore: bump Session to 1.12.0

pull/3040/head
Audric Ackermann 1 year ago
parent fb98b51c32
commit ec25d2f97f

@ -2,7 +2,7 @@
"name": "session-desktop",
"productName": "Session",
"description": "Private messaging from your desktop",
"version": "1.11.8",
"version": "1.12.0",
"license": "GPL-3.0",
"author": {
"name": "Oxen Labs",

@ -13,7 +13,7 @@ import {
useSelectedConversationKey,
useSelectedExpireTimer,
useSelectedIsGroupOrCommunity,
useSelectedWeAreAdmin
useSelectedWeAreAdmin,
} from '../../../../../state/selectors/selectedConversation';
import { ReleasedFeatures } from '../../../../../util/releaseFeature';
import { Flex } from '../../../../basic/Flex';

@ -71,11 +71,6 @@ export const REACT_LIMIT = 6;
export const MAX_USERNAME_BYTES = 64;
export const FEATURE_RELEASE_TIMESTAMPS = {
// TODO update to agreed value between platforms for `disappearing_messages`
DISAPPEARING_MESSAGES_V2: 1706778000000, // unix 01/02/2024 09:00
// TODO DO NOT MERGE Remove after QA
// NOTE for testing purposes only
// DISAPPEARING_MESSAGES_V2: 1677488400000, // unix 27/02/2023 09:00
DISAPPEARING_MESSAGES_V2: 1710147600000, // unix 11/03/2024 09:00
USER_CONFIG: 1690761600000, // Monday July 31st at 10am Melbourne time
};

@ -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 = {

Loading…
Cancel
Save