Replace load/decode/index around our own number with helpers
This commit is contained in:
parent
3759fe46e9
commit
454b4726bd
12 changed files with 120 additions and 41 deletions
|
@ -58,9 +58,7 @@
|
|||
var view = new Whisper.KeyVerificationView({
|
||||
model: {
|
||||
their_key: textsecure.storage.devices.getIdentityKeyForNumber(number),
|
||||
your_key: textsecure.storage.devices.getIdentityKeyForNumber(
|
||||
textsecure.utils.unencodeNumber(textsecure.storage.getUnencrypted("number_id"))[0]
|
||||
)
|
||||
your_key: textsecure.storage.devices.getIdentityKeyForNumber(textsecure.storage.user.getNumber())
|
||||
}
|
||||
});
|
||||
this.$el.hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue