From a375acf875aded9d6f03c56abaaa8cce21d3e404 Mon Sep 17 00:00:00 2001 From: Ajay Bura <32841439+ajbura@users.noreply.github.com> Date: Thu, 18 Aug 2022 17:03:42 +0530 Subject: [PATCH] Pass oidc account management url to session --- src/matrix/Client.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/matrix/Client.js b/src/matrix/Client.js index ef897e25..dd2d5f64 100644 --- a/src/matrix/Client.js +++ b/src/matrix/Client.js @@ -306,6 +306,9 @@ export class Client { userId: sessionInfo.userId, homeserver: sessionInfo.homeServer, }; + if (sessionInfo.accountManagementUrl) { + filteredSessionInfo.accountManagementUrl = sessionInfo.accountManagementUrl; + } const olm = await this._olmPromise; let olmWorker = null; if (this._workerPromise) {