pull/823/head
Ryan Tharp 5 years ago
parent 387c30379c
commit 23fe8407ea

@ -310,7 +310,7 @@
dcodeIO.ByteBuffer.fromBase64(serverPubKey64).toArrayBuffer()
);
const { privKey } = await textsecure.storage.protocol.getIdentityKeyPair();
if (!myKeyPair) {
if (!privKey) {
window.log.warn("decryptToken, Can't load myKeyPair from storage");
// FIXME: not sure what I should give on failure
// just going to stick with the same type of value

Loading…
Cancel
Save