add missing word

This commit is contained in:
Hubert Chathi 2021-12-01 15:36:46 -05:00
parent fb162258ab
commit 4b2f68d11e
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}

View file

@ -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
);