Don't show custom server bit on matrix.org

On mobile guide

Part of https://github.com/vector-im/riot-web/issues/7378
This commit is contained in:
David Baker 2018-09-27 18:19:33 +01:00 committed by Bruno Windels
parent 57cdd26d4d
commit a2c7ef5424
1 changed files with 1 additions and 0 deletions

View File

@ -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;