Explorar o código

Bugfix. Not stored as base64

JC Brand %!s(int64=7) %!d(string=hai) anos
pai
achega
71e418fab6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {