You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
add comment
This commit is contained in:
@@ -70,6 +70,8 @@ async function checkIsUrl(isUrl) {
|
||||
// js-sdk so probably as easy to duplicate it than to separate it out so we can reuse it
|
||||
return new Promise((resolve) => {
|
||||
request(
|
||||
// also XXX: we don't really know whether to hit /v1 or /v2 for this: we
|
||||
// probably want a /versions endpoint like the C/S API.
|
||||
{ method: "GET", url: isUrl + '/_matrix/identity/api/v1' },
|
||||
(err, response, body) => {
|
||||
if (err) {
|
||||
|
||||
Reference in New Issue
Block a user