diff options
Diffstat (limited to 'javascript/olm_inbound_group_session.js')
-rw-r--r-- | javascript/olm_inbound_group_session.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/olm_inbound_group_session.js b/javascript/olm_inbound_group_session.js index cfb557f..9d526c4 100644 --- a/javascript/olm_inbound_group_session.js +++ b/javascript/olm_inbound_group_session.js @@ -69,7 +69,7 @@ InboundGroupSession.prototype['decrypt'] = restore_stack(function( var plaintext_buffer = stack(max_plaintext_length); var plaintext_length = session_method(Module["_olm_group_decrypt"])( this.ptr, - message_buffer, message.length, + message_buffer, message_array.length, plaintext_buffer, max_plaintext_length ); return Pointer_stringify(plaintext_buffer, plaintext_length); |