mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
Only create signed prekey if push registered.
This commit is contained in:
parent
540592d71f
commit
3f299936bf
@ -127,7 +127,9 @@ public class RoutingActivity extends PassphraseRequiredSherlockActivity {
|
|||||||
else if (parameters.recipients != null) intent = getConversationIntent(parameters);
|
else if (parameters.recipients != null) intent = getConversationIntent(parameters);
|
||||||
else intent = getConversationListIntent();
|
else intent = getConversationListIntent();
|
||||||
|
|
||||||
if (!TextSecurePreferences.isSignedPreKeyRegistered(this)) {
|
if (TextSecurePreferences.isPushRegistered(this) &&
|
||||||
|
!TextSecurePreferences.isSignedPreKeyRegistered(this))
|
||||||
|
{
|
||||||
PreKeyService.initiateCreateSigned(this, masterSecret);
|
PreKeyService.initiateCreateSigned(this, masterSecret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user