using wrong method here

This commit is contained in:
Bruno Windels 2020-09-03 15:27:00 +02:00
parent af423b1c7f
commit 8d64fa54fe

View file

@ -138,7 +138,7 @@ export class Account {
createOutboundOlmSession(theirIdentityKey, theirOneTimeKey) {
const newSession = new this._olm.Session();
try {
newSession.create_outbound_from(this._account, theirIdentityKey, theirOneTimeKey);
newSession.create_outbound(this._account, theirIdentityKey, theirOneTimeKey);
return newSession;
} catch (err) {
newSession.free();