diff --git a/src/matrix/e2ee/OlmWorker.js b/src/matrix/e2ee/OlmWorker.js index 649db309..31099e65 100644 --- a/src/matrix/e2ee/OlmWorker.js +++ b/src/matrix/e2ee/OlmWorker.js @@ -37,7 +37,7 @@ export class OlmWorker { account.unpickle("", pickle); } - async createOutboundSession(account, newSession, theirIdentityKey, theirOneTimeKey) { + async createOutboundOlmSession(account, newSession, theirIdentityKey, theirOneTimeKey) { const accountPickle = account.pickle(""); const sessionPickle = await this._workerPool.send({type: "olm_create_outbound", accountPickle, theirIdentityKey, theirOneTimeKey}).response(); newSession.unpickle("", sessionPickle);