From 8d64fa54fe2bf5278cfe30ce97584d84010b4bd0 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 3 Sep 2020 15:27:00 +0200 Subject: [PATCH] using wrong method here --- src/matrix/e2ee/Account.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/e2ee/Account.js b/src/matrix/e2ee/Account.js index e5c03cbd..9d83465c 100644 --- a/src/matrix/e2ee/Account.js +++ b/src/matrix/e2ee/Account.js @@ -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();