Only create signed prekey if push registered.
This commit is contained in:
parent
540592d71f
commit
3f299936bf
1 changed files with 3 additions and 1 deletions
|
@ -127,7 +127,9 @@ public class RoutingActivity extends PassphraseRequiredSherlockActivity {
|
|||
else if (parameters.recipients != null) intent = getConversationIntent(parameters);
|
||||
else intent = getConversationListIntent();
|
||||
|
||||
if (!TextSecurePreferences.isSignedPreKeyRegistered(this)) {
|
||||
if (TextSecurePreferences.isPushRegistered(this) &&
|
||||
!TextSecurePreferences.isSignedPreKeyRegistered(this))
|
||||
{
|
||||
PreKeyService.initiateCreateSigned(this, masterSecret);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue