From d6534e1bb832fdef3f71237071ebfd3d5c4301c9 Mon Sep 17 00:00:00 2001 From: Beaudan Date: Tue, 13 Nov 2018 14:36:14 +1100 Subject: [PATCH] Fixed bug with signed key sig not being saved --- js/modules/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/modules/data.js b/js/modules/data.js index feff9d463..c1edc5e7b 100644 --- a/js/modules/data.js +++ b/js/modules/data.js @@ -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);