aboutsummaryrefslogtreecommitdiff
path: root/javascript/olm_outbound_group_session.js
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2016-09-06 11:07:53 +0100
committerGitHub <noreply@github.com>2016-09-06 11:07:53 +0100
commit8912d13b0b856e5eb3e43594260dd5da3ad6535c (patch)
treeff5e4cd1de2462592c768f96c1b97c7b9f9afb84 /javascript/olm_outbound_group_session.js
parent617f9b1696015d42e8b31067d520ce76fd3c6425 (diff)
parentc2b51207ee9d6546a885746475e14141a29bcb36 (diff)
Merge pull request #17 from matrix-org/rav/group_session_error_handling
Fix error handling for group sessions
Diffstat (limited to 'javascript/olm_outbound_group_session.js')
-rw-r--r--javascript/olm_outbound_group_session.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/olm_outbound_group_session.js b/javascript/olm_outbound_group_session.js
index e59c8bb..71e1c91 100644
--- a/javascript/olm_outbound_group_session.js
+++ b/javascript/olm_outbound_group_session.js
@@ -54,7 +54,7 @@ OutboundGroupSession.prototype['unpickle'] = restore_stack(function(key, pickle)
});
OutboundGroupSession.prototype['create'] = restore_stack(function(key) {
- var random_length = session_method(
+ var random_length = outbound_group_session_method(
Module['_olm_init_outbound_group_session_random_length']
)(this.ptr);
var random = random_stack(random_length);