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(); const newSession = new this._olm.Session();
try { try {
account.unpickle("", accountPickle); account.unpickle("", accountPickle);
newSession.create_outbound(account, newSession, theirIdentityKey, theirOneTimeKey); newSession.create_outbound(account, theirIdentityKey, theirOneTimeKey);
return newSession.pickle(""); return newSession.pickle("");
} finally { } finally {
account.free(); account.free();