From 0e988237f6fcb826afc42719adc335dcc7ca0e2e Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Wed, 8 Jul 2015 16:00:08 +0100 Subject: Don't pass a key id when creating a new outbound session --- javascript/olm_post.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'javascript/olm_post.js') diff --git a/javascript/olm_post.js b/javascript/olm_post.js index 0494460..7bcc580 100644 --- a/javascript/olm_post.js +++ b/javascript/olm_post.js @@ -172,7 +172,7 @@ Session.prototype['unpickle'] = restore_stack(function(key, pickle) { }); Session.prototype['create_outbound'] = restore_stack(function( - account, their_identity_key, their_one_time_key_id, their_one_time_key + account, their_identity_key, their_one_time_key ) { var random_length = session_method( Module['_olm_create_outbound_session_random_length'] @@ -185,7 +185,6 @@ Session.prototype['create_outbound'] = restore_stack(function( session_method(Module['_olm_create_outbound_session'])( this.ptr, account.ptr, identity_key_buffer, identity_key_array.length, - their_one_time_key_id, one_time_key_buffer, one_time_key_array.length, random, random_length ); -- cgit v1.2.3