From d61b08c072482f28b2ef7542f786a9043107d6ce Mon Sep 17 00:00:00 2001 From: Ashoat Tevosyan Date: Mon, 16 Sep 2024 22:12:59 +0200 Subject: [PATCH] [keyserver] Update NEXT_CODE_VERSION 393 for `native`, 115 for `web`, and 14 for `majorDesktop` --- lib/push/send-utils.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lib/push/send-utils.js b/lib/push/send-utils.js index 7ad680c30a..76765ecf91 100644 --- a/lib/push/send-utils.js +++ b/lib/push/send-utils.js @@ -38,10 +38,7 @@ import { isMemberActive, threadInfoFromRawThreadInfo, } from '../shared/thread-utils.js'; -import { - NEXT_CODE_VERSION, - hasMinCodeVersion, -} from '../shared/version-utils.js'; +import { hasMinCodeVersion } from '../shared/version-utils.js'; import type { AuxUserInfos } from '../types/aux-user-types.js'; import type { PlatformDetails, Platform } from '../types/device-types.js'; import { @@ -1008,9 +1005,9 @@ function filterDevicesSupportingDMNotifs< ...devicesContainer, devices: devicesContainer.devices.filter(({ platformDetails }) => hasMinCodeVersion(platformDetails, { - native: NEXT_CODE_VERSION, - web: NEXT_CODE_VERSION, - majorDesktop: NEXT_CODE_VERSION, + native: 393, + web: 115, + majorDesktop: 14, }), ), };