diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-09-13 17:54:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-13 17:54:14 +0100 |
commit | d7bc00c81d9f98d88e77f55056d6cebab90d8f85 (patch) | |
tree | de9a6b0a638f24724cf6cf36baea98dc6ed0a265 /javascript/olm_inbound_group_session.js | |
parent | 1a50a4b3a0bd38326a7f2327df5513072763ba65 (diff) | |
parent | a628ef41bd5b860b89a3e2e29df56a461e85fa00 (diff) |
Merge pull request #23 from matrix-org/markjh/remove_message_index
Remove the messsage index from olm_init_inbound_group_session
Diffstat (limited to 'javascript/olm_inbound_group_session.js')
-rw-r--r-- | javascript/olm_inbound_group_session.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript/olm_inbound_group_session.js b/javascript/olm_inbound_group_session.js index 01bfd26..6058233 100644 --- a/javascript/olm_inbound_group_session.js +++ b/javascript/olm_inbound_group_session.js @@ -52,12 +52,12 @@ InboundGroupSession.prototype['unpickle'] = restore_stack(function(key, pickle) ); }); -InboundGroupSession.prototype['create'] = restore_stack(function(message_index, session_key) { +InboundGroupSession.prototype['create'] = restore_stack(function(session_key) { var key_array = array_from_string(session_key); var key_buffer = stack(key_array); inbound_group_session_method(Module['_olm_init_inbound_group_session'])( - this.ptr, message_index, key_buffer, key_array.length + this.ptr, key_buffer, key_array.length ); }); |