mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-08-06 05:14:50 +01:00
Properly persist registrationId in regV5.
This commit is contained in:
+3
@@ -238,6 +238,9 @@ class AppRegistrationStorageController(private val context: Context) : StorageCo
|
||||
}
|
||||
}.build()
|
||||
|
||||
SignalStore.account.registrationId = data.aciRegistrationId
|
||||
SignalStore.account.pniRegistrationId = data.pniRegistrationId
|
||||
|
||||
// TODO [greyson] Should probably move this stuff into this file as we get closer to being done
|
||||
RegistrationRepository.registerAccountLocally(context, metadata)
|
||||
SignalStore.registration.localRegistrationMetadata = metadata
|
||||
|
||||
Reference in New Issue
Block a user