mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Do not allow recipient merges to remove your own E164.
This would only happen in some niche change number cases where an unregistered device would continue to send sealed sender messages to you using your old number.
This commit is contained in:
@@ -16,8 +16,6 @@ internal class AccountValues internal constructor(store: KeyValueStore) : Signal
|
||||
|
||||
companion object {
|
||||
private val TAG = Log.tag(AccountValues::class.java)
|
||||
private const val KEY_ACI = "account.aci"
|
||||
private const val KEY_PNI = "account.pni"
|
||||
private const val KEY_SERVICE_PASSWORD = "account.service_password"
|
||||
private const val KEY_IS_REGISTERED = "account.is_registered"
|
||||
private const val KEY_REGISTRATION_ID = "account.registration_id"
|
||||
@@ -28,6 +26,10 @@ internal class AccountValues internal constructor(store: KeyValueStore) : Signal
|
||||
|
||||
@VisibleForTesting
|
||||
const val KEY_E164 = "account.e164"
|
||||
@VisibleForTesting
|
||||
const val KEY_ACI = "account.aci"
|
||||
@VisibleForTesting
|
||||
const val KEY_PNI = "account.pni"
|
||||
}
|
||||
|
||||
init {
|
||||
|
||||
Reference in New Issue
Block a user