1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Implement starter link support

This involves modal dialogs because browsers are *terrible*.
This commit is contained in:
Kegan Dougal
2016-09-02 16:36:43 +01:00
parent 6ec7e5df28
commit 45ada1887d
3 changed files with 64 additions and 11 deletions

View File

@@ -82,6 +82,10 @@ class ScalarAuthClient {
url += "&room_id=" + encodeURIComponent(roomId);
return url;
}
getStarterLink(starterLinkUrl) {
return starterLinkUrl + "?scalar_token=" + encodeURIComponent(this.scalarToken);
}
}
module.exports = ScalarAuthClient;