Sfoglia il codice sorgente

Bugfix. Not stored as base64

JC Brand 7 anni fa
parent
commit
71e418fab6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tests/mock.js

+ 1 - 1
tests/mock.js

@@ -22,7 +22,7 @@
                 'registrationId': '1337' 
             });
             this.decryptWhisperMessage = (key_and_tag) => {
-                return Promise.resolve(u.stringToArrayBuffer(atob(key_and_tag)));
+                return Promise.resolve(u.stringToArrayBuffer(key_and_tag));
             }
         },
         'SessionBuilder': function (storage, remote_address) {