From ee76674f03c7f6845f9c6ba3769f8d50999c276b Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Wed, 1 Dec 2021 14:34:29 -0500 Subject: [PATCH] remove duplicate definition --- javascript/olm_post.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/javascript/olm_post.js b/javascript/olm_post.js index 634753c..92dd817 100644 --- a/javascript/olm_post.js +++ b/javascript/olm_post.js @@ -172,17 +172,6 @@ Account.prototype['fallback_key'] = restore_stack(function() { return UTF8ToString(keys, keys_length); }); -Account.prototype['fallback_key'] = restore_stack(function() { - var keys_length = account_method( - Module['_olm_account_fallback_key_length'] - )(this.ptr); - var keys = stack(keys_length + NULL_BYTE_PADDING_LENGTH); - account_method(Module['_olm_account_fallback_key'])( - this.ptr, keys, keys_length - ); - return UTF8ToString(keys, keys_length); -}); - Account.prototype['unpublished_fallback_key'] = restore_stack(function() { var keys_length = account_method( Module['_olm_account_unpublished_fallback_key_length']