From 3af2ae3bddee60b53b07718a68f25be59d1fbbcf Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Thu, 19 Aug 2021 20:43:03 +0530 Subject: [PATCH] make method private Signed-off-by: RMidhunSuresh --- src/matrix/SessionContainer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matrix/SessionContainer.js b/src/matrix/SessionContainer.js index edbe0f28..40bc1be0 100644 --- a/src/matrix/SessionContainer.js +++ b/src/matrix/SessionContainer.js @@ -100,7 +100,7 @@ export class SessionContainer { }); } - parseLoginOptions(options, homeServer) { + _parseLoginOptions(options, homeServer) { /* Take server response and return new object which has two props password and sso which implements LoginMethod @@ -125,7 +125,7 @@ export class SessionContainer { const normalizedHS = normalizeHomeserver(homeServer); const hsApi = new HomeServerApi({homeServer: normalizedHS, request: this._platform.request}); const response = await hsApi.getLoginFlows().response(); - return this.parseLoginOptions(response, normalizedHS); + return this._parseLoginOptions(response, normalizedHS); } async startWithLogin(loginMethod) {