You've already forked matrix-react-sdk
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user