mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-31 06:46:09 +00:00
Rollbacks, v2 sms-transport key exchanges, push identity conflicts.
1) Stop protocol rollbacks. 2) Handle v2 version key exchange messages. 3) Handle identity key conflicts on prekeybundle messages.
This commit is contained in:
@@ -66,8 +66,12 @@ public class VerifyIdentityActivity extends KeyScanningActivity {
|
||||
}
|
||||
|
||||
private void initializeRemoteIdentityKey() {
|
||||
SessionRecord sessionRecord = new SessionRecord(this, masterSecret, recipient);
|
||||
IdentityKey identityKey = sessionRecord.getIdentityKey();
|
||||
IdentityKey identityKey = getIntent().getParcelableExtra("remote_identity");
|
||||
|
||||
if (identityKey == null) {
|
||||
SessionRecord sessionRecord = new SessionRecord(this, masterSecret, recipient);
|
||||
identityKey = sessionRecord.getIdentityKey();
|
||||
}
|
||||
|
||||
if (identityKey == null) {
|
||||
remoteIdentityFingerprint.setText(R.string.VerifyIdentityActivity_recipient_has_no_identity_key);
|
||||
|
||||
Reference in New Issue
Block a user