Added a Storage Service Playground screen.

This commit is contained in:
Greyson Parrelli
2024-11-18 08:47:31 -05:00
parent 1b2c0db693
commit 59403e7da8
11 changed files with 467 additions and 5 deletions

View File

@@ -322,7 +322,8 @@ class Recipient(
val versionedExpirationTimerCapability: Capability = capabilities.versionedExpirationTimer
/** The user's capability to handle the new storage record encryption scheme. */
val storageServiceEncryptionV2Capability: Capability = capabilities.storageServiceEncryptionV2
val storageServiceEncryptionV2Capability: Capability
get() = if (SignalStore.internal.forceSsre2Capability) Capability.SUPPORTED else capabilities.storageServiceEncryptionV2
/** The state around whether we can send sealed sender to this user. */
val sealedSenderAccessMode: SealedSenderAccessMode = if (pni.isPresent && pni == serviceId) {