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']