mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Add device linking infrastructure.
This commit is contained in:
@@ -57,6 +57,11 @@ public class PniAccountInitializationMigrationJob extends MigrationJob {
|
||||
|
||||
@Override
|
||||
public void performMigration() throws IOException {
|
||||
if (SignalStore.account().isLinkedDevice()) {
|
||||
Log.i(TAG, "Linked device, skipping");
|
||||
return;
|
||||
}
|
||||
|
||||
PNI pni = SignalStore.account().getPni();
|
||||
|
||||
if (pni == null || SignalStore.account().getAci() == null || !Recipient.self().isRegistered()) {
|
||||
|
||||
Reference in New Issue
Block a user