Skip to content

Commit

Permalink
Fix mollysocket linked-device capabilities
Browse files Browse the repository at this point in the history
Fixes #424
  • Loading branch information
valldrac committed Jan 16, 2025
1 parent 7761bfe commit c7505ed
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import org.thoughtcrime.securesms.push.AccountManagerFactory
import org.thoughtcrime.securesms.registration.data.RegistrationRepository
import org.thoughtcrime.securesms.registration.secondary.DeviceNameCipher
import org.thoughtcrime.securesms.util.JsonUtils
import org.thoughtcrime.securesms.util.RemoteConfig
import org.thoughtcrime.securesms.util.Util
import org.whispersystems.signalservice.api.NetworkResult
import org.whispersystems.signalservice.api.account.AccountAttributes
Expand Down Expand Up @@ -82,12 +81,7 @@ object MollySocketRepository {
registrationLock = null,
unidentifiedAccessKey = null,
unrestrictedUnidentifiedAccess = true,
capabilities = AccountAttributes.Capabilities(
storage = false,
deleteSync = false,
versionedExpirationTimer = false,
storageServiceEncryptionV2 = false,
),
capabilities = AppCapabilities.getCapabilities(storageCapable = false),
discoverableByPhoneNumber = !notDiscoverable,
name = Base64.encodeWithPadding(encryptedDeviceName),
pniRegistrationId = SignalStore.account.pniRegistrationId,
Expand Down

0 comments on commit c7505ed

Please sign in to comment.