From bc088e447212fc846052fae40bcc2e4721c28d21 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 12 Aug 2019 13:31:31 +0100 Subject: [PATCH] add comment --- src/components/views/settings/SetIdServer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/views/settings/SetIdServer.js b/src/components/views/settings/SetIdServer.js index 0140695838..466ac01dd0 100644 --- a/src/components/views/settings/SetIdServer.js +++ b/src/components/views/settings/SetIdServer.js @@ -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) {