We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9c4625 commit 25cf811Copy full SHA for 25cf811
packages/core/src/main/cryptography/CryptographyService.ts
@@ -120,7 +120,7 @@ export class CryptographyService {
120
}) {
121
if (onNewPrekeys) {
122
this.cryptobox.on(Cryptobox.TOPIC.NEW_PREKEYS, prekeys => {
123
- const serializedPreKeys = prekeys.map(this.cryptobox.serialize_prekey);
+ const serializedPreKeys = prekeys.map(prekey => this.cryptobox.serialize_prekey(prekey));
124
onNewPrekeys(serializedPreKeys);
125
});
126
}
0 commit comments