Inline deleteSync and SSREv2 capabilities.

This commit is contained in:
Greyson Parrelli
2025-08-15 12:23:02 -04:00
committed by Jeffrey Starke
parent 8df8cdf28d
commit 1c7f6a68e4
12 changed files with 33 additions and 84 deletions

View File

@@ -327,10 +327,6 @@ class Recipient(
/** The notification channel, if both set and supported by the system. Otherwise null. */
val notificationChannel: String? = if (!NotificationChannels.supported()) null else notificationChannelValue
/** The user's capability to handle the new storage record encryption scheme. */
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) {
SealedSenderAccessMode.DISABLED