Update protocol libs
Rename storage functions // FREEBIE
This commit is contained in:
parent
b5ddd41a5e
commit
1fe5d63015
11 changed files with 91 additions and 91 deletions
|
@ -170,8 +170,8 @@
|
|||
if (this.model.isPrivate()) {
|
||||
var their_number = this.model.id;
|
||||
var our_number = textsecure.storage.user.getNumber();
|
||||
textsecure.storage.axolotl.getIdentityKey(their_number).then(function(their_key) {
|
||||
textsecure.storage.axolotl.getIdentityKey(our_number).then(function(our_key) {
|
||||
textsecure.storage.axolotl.loadIdentityKey(their_number).then(function(their_key) {
|
||||
textsecure.storage.axolotl.loadIdentityKey(our_number).then(function(our_key) {
|
||||
var view = new Whisper.KeyVerificationPanelView({
|
||||
model: { their_key: their_key, your_key: our_key }
|
||||
}).render();
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
initialize: function(options) {
|
||||
this.contact = options.contact;
|
||||
this.conversation = options.conversation;
|
||||
textsecure.storage.axolotl.getIdentityKey(textsecure.storage.user.getNumber()).then(function(our_key) {
|
||||
textsecure.storage.axolotl.loadIdentityKey(textsecure.storage.user.getNumber()).then(function(our_key) {
|
||||
this.your_key = our_key;
|
||||
this.render();
|
||||
}.bind(this));
|
||||
textsecure.storage.axolotl.getIdentityKey(textsecure.storage.user.getNumber()).then(function(our_key) {
|
||||
textsecure.storage.axolotl.loadIdentityKey(textsecure.storage.user.getNumber()).then(function(our_key) {
|
||||
var view = new Whisper.KeyVerificationView({
|
||||
model: {
|
||||
their_key : this.model.identityKey,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue