Add support for the new client wide threads feature flag

- enable it everywhere as it's safer than dealing with different configurations
This commit is contained in:
Stefan Ceriu
2025-07-04 13:28:11 +03:00
committed by Stefan Ceriu
parent a97c82861d
commit 4d616c550c
5 changed files with 13 additions and 7 deletions

View File

@@ -63,7 +63,8 @@ final class NSEUserSession {
enableOnlySignedDeviceIsolationMode: appSettings.enableOnlySignedDeviceIsolationMode,
enableKeyShareOnInvite: appSettings.enableKeyShareOnInvite,
requestTimeout: 15000,
maxRequestRetryTime: 5000)
maxRequestRetryTime: 5000,
threadsEnabled: appSettings.threadsEnabled)
.systemIsMemoryConstrained()
.sessionPaths(dataPath: credentials.restorationToken.sessionDirectories.dataPath,
cachePath: credentials.restorationToken.sessionDirectories.cachePath)