Replace references to riot.im

This commit is contained in:
J. Ryan Stinnett 2020-07-13 17:02:20 +01:00
parent 62d22f50ab
commit acb22f4fe5
7 changed files with 12 additions and 12 deletions

View file

@ -86,11 +86,11 @@ function onNewScreen(screen: string) {
//
// If we're in electron, we should never pass through a file:// URL otherwise
// the identity server will try to 302 the browser to it, which breaks horribly.
// so in that instance, hardcode to use riot.im/app for now instead.
// so in that instance, hardcode to use app.element.io for now instead.
function makeRegistrationUrl(params: object) {
let url;
if (window.location.protocol === "vector:") {
url = 'https://riot.im/app/#/register';
url = 'https://app.element.io/#/register';
} else {
url = (
window.location.protocol + '//' +

View file

@ -93,7 +93,7 @@ async function initPage() {
if (hsUrl !== 'https://matrix.org/') {
document.getElementById('configure_riot_button').href =
"https://riot.im/config/config?hs_url=" + encodeURIComponent(hsUrl) +
"https://app.element.io/config/config?hs_url=" + encodeURIComponent(hsUrl) +
"&is_url=" + encodeURIComponent(isUrl);
document.getElementById('step1_heading').innerHTML= '1: Install the app';
document.getElementById('step2_container').style.display = 'block';

View file

@ -482,8 +482,8 @@
</div>
<div class="mx_HomePage_row mx_Center mx_Spacer">
<p class="mx_Spacer">
<a href="https://riot.im" target="_blank" class="mx_FooterLink">
Go to Riot.im
<a href="https://element.io" target="_blank" class="mx_FooterLink">
Go to element.io
</a>
</p>
</div>

View file

@ -189,8 +189,8 @@
</div>
<div class="mx_HomePage_row mx_Center mx_Spacer">
<p class="mx_Spacer">
<a href="https://riot.im" target="_blank" class="mx_FooterLink">
Go to Riot.im
<a href="https://element.io" target="_blank" class="mx_FooterLink">
Go to element.io
</a>
</p>
</div>