From 2ad34c2dd2dbf73807b7c481ea9f564a90deae0a Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 10 Nov 2020 18:31:33 +0100 Subject: [PATCH] c/p error for passing arguments to create_outbound --- src/platform/web/worker/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/web/worker/main.js b/src/platform/web/worker/main.js index 41cf3419..db8d84e9 100644 --- a/src/platform/web/worker/main.js +++ b/src/platform/web/worker/main.js @@ -149,7 +149,7 @@ class MessageHandler { const newSession = new this._olm.Session(); try { account.unpickle("", accountPickle); - newSession.create_outbound(account, newSession, theirIdentityKey, theirOneTimeKey); + newSession.create_outbound(account, theirIdentityKey, theirOneTimeKey); return newSession.pickle(""); } finally { account.free();