diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-09-06 14:06:43 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-09-06 14:06:43 +0100 |
commit | 50cd2b2a430b379bf6cee1259867faa08daea1b7 (patch) | |
tree | 0b271bd58102bd29de684354b83fe8782e395a65 /javascript/olm_outbound_group_session.js | |
parent | 7c84ce8098f58b28e9996f8644caafef8d32d308 (diff) |
Clean up some typos
Remove redundant args from some js funcs, and fix a comment typo
Diffstat (limited to 'javascript/olm_outbound_group_session.js')
-rw-r--r-- | javascript/olm_outbound_group_session.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/javascript/olm_outbound_group_session.js b/javascript/olm_outbound_group_session.js index 71e1c91..88a441d 100644 --- a/javascript/olm_outbound_group_session.js +++ b/javascript/olm_outbound_group_session.js @@ -53,7 +53,7 @@ OutboundGroupSession.prototype['unpickle'] = restore_stack(function(key, pickle) ); }); -OutboundGroupSession.prototype['create'] = restore_stack(function(key) { +OutboundGroupSession.prototype['create'] = restore_stack(function() { var random_length = outbound_group_session_method( Module['_olm_init_outbound_group_session_random_length'] )(this.ptr); @@ -78,7 +78,7 @@ OutboundGroupSession.prototype['encrypt'] = restore_stack(function(plaintext) { return Pointer_stringify(message_buffer); }); -OutboundGroupSession.prototype['session_id'] = restore_stack(function(key) { +OutboundGroupSession.prototype['session_id'] = restore_stack(function() { var length = outbound_group_session_method( Module['_olm_outbound_group_session_id_length'] )(this.ptr); @@ -89,7 +89,7 @@ OutboundGroupSession.prototype['session_id'] = restore_stack(function(key) { return Pointer_stringify(session_id); }); -OutboundGroupSession.prototype['session_key'] = restore_stack(function(key) { +OutboundGroupSession.prototype['session_key'] = restore_stack(function() { var key_length = outbound_group_session_method( Module['_olm_outbound_group_session_key_length'] )(this.ptr); |