Pass oidc account management url to session

This commit is contained in:
Ajay Bura 2022-08-18 17:03:42 +05:30
parent 7f41a78c27
commit a375acf875

View File

@ -306,6 +306,9 @@ export class Client {
userId: sessionInfo.userId, userId: sessionInfo.userId,
homeserver: sessionInfo.homeServer, homeserver: sessionInfo.homeServer,
}; };
if (sessionInfo.accountManagementUrl) {
filteredSessionInfo.accountManagementUrl = sessionInfo.accountManagementUrl;
}
const olm = await this._olmPromise; const olm = await this._olmPromise;
let olmWorker = null; let olmWorker = null;
if (this._workerPromise) { if (this._workerPromise) {