mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 10:17:56 +00:00
fixup! Do not run prekey jobs if you're not registered.
This commit is contained in:
@@ -58,7 +58,7 @@ public class PniAccountInitializationMigrationJob extends MigrationJob {
|
||||
public void performMigration() throws IOException {
|
||||
PNI pni = SignalStore.account().getPni();
|
||||
|
||||
if (!Recipient.self().isRegistered() || pni == null) {
|
||||
if (pni == null || SignalStore.account().getAci() == null || !Recipient.self().isRegistered()) {
|
||||
Log.w(TAG, "Not yet registered! No need to perform this migration.");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user