fixup! Do not run prekey jobs if you're not registered.
This commit is contained in:
parent
c2830163b8
commit
719f5e28d0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue