Skip to content

Commit 59bfdc7

Browse files
authored
Skip org.matrix.msc2858 prefix as per the MSC
See matrix-org/matrix-spec-proposals#2858 (comment)
1 parent 035cb9f commit 59bfdc7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/base-apis.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,14 +364,12 @@ MatrixBaseApis.prototype.getSsoLoginUrl = function(redirectUrl, loginType, idpId
364364
loginType = "sso";
365365
}
366366

367-
let prefix = PREFIX_R0;
368367
let url = "/login/" + loginType + "/redirect";
369368
if (idpId) {
370369
url += "/" + idpId;
371-
prefix = "/_matrix/client/unstable/org.matrix.msc2858";
372370
}
373371

374-
return this._http.getUrl(url, { redirectUrl }, prefix);
372+
return this._http.getUrl(url, { redirectUrl }, PREFIX_R0);
375373
};
376374

377375
/**

0 commit comments

Comments
 (0)