From 4b2f68d11ec5f612db8f0ff28fd443acab8a2bd1 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Wed, 1 Dec 2021 15:36:46 -0500 Subject: [PATCH] add missing word --- javascript/index.d.ts | 2 +- javascript/olm_post.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/index.d.ts b/javascript/index.d.ts index 8464b65..76efba9 100644 --- a/javascript/index.d.ts +++ b/javascript/index.d.ts @@ -30,7 +30,7 @@ declare class Account { generate_fallback_key(); fallback_key(): string; unpublished_fallback_key(): string; - forget_old_fallback(): void; + forget_old_fallback_key(): void; pickle(key: string | Uint8Array): string; unpickle(key: string | Uint8Array, pickle: string); } diff --git a/javascript/olm_post.js b/javascript/olm_post.js index 92dd817..7fc976a 100644 --- a/javascript/olm_post.js +++ b/javascript/olm_post.js @@ -183,7 +183,7 @@ Account.prototype['unpublished_fallback_key'] = restore_stack(function() { return UTF8ToString(keys, keys_length); }); -Account.prototype['forget_old_fallback'] = restore_stack(function() { +Account.prototype['forget_old_fallback_key'] = restore_stack(function() { account_method(Module['_olm_account_forget_old_fallback_key'])( this.ptr );