c/p error for passing arguments to create_outbound

This commit is contained in:
Bruno Windels 2020-11-10 18:31:33 +01:00
parent f5480b7708
commit 2ad34c2dd2

View file

@ -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();