Remove processPreKey from protocol_wrapper
Use SessionBuilder directly instead of protocol_wrapper // FREEBIE
This commit is contained in:
parent
843036f0ce
commit
891ddacd35
4 changed files with 10 additions and 18 deletions
|
@ -76,13 +76,6 @@
|
|||
throw e;
|
||||
});
|
||||
});
|
||||
},
|
||||
processPreKey: function(preKeyBundle) {
|
||||
return queueJobForNumber(preKeyBundle.encodedNumber, function() {
|
||||
var address = libsignal.SignalProtocolAddress.fromString(preKeyBundle.encodedNumber);
|
||||
var builder = new libsignal.SessionBuilder(textsecure.storage.protocol, address);
|
||||
return builder.processPreKey(preKeyBundle);
|
||||
});
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue