Skip to content

Commit bc8323f

Browse files
committed
Don't show custom server bit on matrix.org
On mobile guide Part of element-hq#7378
1 parent a371bed commit bc8323f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vector/mobile_guide/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ async function initPage() {
1313
if (config && config['default_hs_url']) {
1414
hsUrl = config['default_hs_url'];
1515
}
16+
if (hsUrl && !hsUrl.endsWith('/')) hsUrl += '/';
1617
if (hsUrl && hsUrl !== 'https://matrix.org/') {
1718
document.getElementById('step2_container').style.display = 'block';
1819
document.getElementById('hs_url').innerHTML = hsUrl;

0 commit comments

Comments
 (0)