No need to run this job on install
// FREEBIE
This commit is contained in:
parent
47471f09f4
commit
f871d83e68
1 changed files with 5 additions and 0 deletions
|
@ -47,6 +47,11 @@ public class CreateSignedPreKeyJob extends MasterSecretJob implements Injectable
|
|||
return;
|
||||
}
|
||||
|
||||
if (!TextSecurePreferences.isPushRegistered(context)) {
|
||||
Log.w(TAG, "Not yet registered...");
|
||||
return;
|
||||
}
|
||||
|
||||
IdentityKeyPair identityKeyPair = IdentityKeyUtil.getIdentityKeyPair(context);
|
||||
SignedPreKeyRecord signedPreKeyRecord = PreKeyUtil.generateSignedPreKey(context, identityKeyPair);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue