Fixed bug with signed key sig not being saved

pull/34/head
Beaudan 6 years ago
parent d94365f1c6
commit d6534e1bb8

@ -416,7 +416,7 @@ async function removeAllPreKeys() {
// Signed Pre Keys
const PRE_KEY_KEYS = ['privateKey', 'publicKey'];
const PRE_KEY_KEYS = ['privateKey', 'publicKey', 'signature'];
async function createOrUpdateSignedPreKey(data) {
const updated = keysFromArrayBuffer(PRE_KEY_KEYS, data);
await channels.createOrUpdateSignedPreKey(updated);

Loading…
Cancel
Save