mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-25 16:07:20 +00:00
No need to run this job on install
// FREEBIE
This commit is contained in:
parent
47471f09f4
commit
f871d83e68
@ -47,6 +47,11 @@ public class CreateSignedPreKeyJob extends MasterSecretJob implements Injectable
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!TextSecurePreferences.isPushRegistered(context)) {
|
||||||
|
Log.w(TAG, "Not yet registered...");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
IdentityKeyPair identityKeyPair = IdentityKeyUtil.getIdentityKeyPair(context);
|
IdentityKeyPair identityKeyPair = IdentityKeyUtil.getIdentityKeyPair(context);
|
||||||
SignedPreKeyRecord signedPreKeyRecord = PreKeyUtil.generateSignedPreKey(context, identityKeyPair);
|
SignedPreKeyRecord signedPreKeyRecord = PreKeyUtil.generateSignedPreKey(context, identityKeyPair);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user