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;