Skip to content

Commit

Permalink
Don't show custom server bit on matrix.org
Browse files Browse the repository at this point in the history
On mobile guide

Part of #7378
  • Loading branch information
dbkr committed Sep 27, 2018
1 parent a371bed commit bc8323f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vector/mobile_guide/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ async function initPage() {
if (config && config['default_hs_url']) {
hsUrl = config['default_hs_url'];
}
if (hsUrl && !hsUrl.endsWith('/')) hsUrl += '/';
if (hsUrl && hsUrl !== 'https://matrix.org/') {
document.getElementById('step2_container').style.display = 'block';
document.getElementById('hs_url').innerHTML = hsUrl;
Expand Down

0 comments on commit bc8323f

Please sign in to comment.