mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 16:49:40 +01:00
Update to latest version of libtextsecure for simplified interface.
1) Switch to new TextSecureAddress addressing, rather than mixing long-based recipient IDs into libtextsecure. 2) Get rid of RecipientFormattingException throws in calls to RecipientFactory. Closes #2570
This commit is contained in:
@@ -136,10 +136,9 @@ public class ReceiveKeyActivity extends BaseActivity {
|
||||
}
|
||||
|
||||
private boolean isTrusted(IdentityKey identityKey) {
|
||||
long recipientId = recipient.getRecipientId();
|
||||
IdentityKeyStore identityKeyStore = new TextSecureIdentityKeyStore(this, masterSecret);
|
||||
|
||||
return identityKeyStore.isTrustedIdentity(recipientId, identityKey);
|
||||
return identityKeyStore.isTrustedIdentity(recipient.getNumber(), identityKey);
|
||||
}
|
||||
|
||||
private void initializeKey()
|
||||
|
||||
Reference in New Issue
Block a user