kopia lustrzana https://github.com/ryukoposting/Signal-Android
fixup! Do not run prekey jobs if you're not registered.
rodzic
c2830163b8
commit
719f5e28d0
|
@ -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;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue