Created
November 24, 2023 17:08
-
-
Save marcinwasowicz/33a1d560f092a38d12ad9fa1e88c9eb1 to your computer and use it in GitHub Desktop.
Test majorDesktopVersion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/keyserver/src/session/cookies.js b/keyserver/src/session/cookies.js | |
index 9bc7f7910..0ca3e4373 100644 | |
--- a/keyserver/src/session/cookies.js | |
+++ b/keyserver/src/session/cookies.js | |
@@ -833,10 +833,12 @@ async function isCookieMissingOlmNotificationsSession( | |
!viewer.platformDetails || | |
(viewer.platformDetails.platform !== 'ios' && | |
viewer.platformDetails.platform !== 'android' && | |
- !(viewer.platformDetails.platform === 'web' && isStaffOrDev)) || | |
+ !(viewer.platformDetails.platform === 'web' && isStaffOrDev) && | |
+ !(viewer.platformDetails.platform === 'macos' && isStaffOrDev)) || | |
!hasMinCodeVersion(viewer.platformDetails, { | |
native: 222, | |
web: NEXT_CODE_VERSION, | |
+ majorDesktop: NEXT_CODE_VERSION, | |
}) | |
) { | |
return false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment