Merge pull request #8239 from vector-im/dbkr/desktop_app_email_link

Fix registration nextLink on desktop
pull/8248/head
David Baker 2019-01-23 16:14:20 +00:00 committed by GitHub
commit 4f32be9766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ function onNewScreen(screen) {
// so in that instance, hardcode to use riot.im/app for now instead.
function makeRegistrationUrl(params) {
let url;
if (window.location.protocol === "file:") {
if (window.location.protocol === "vector:") {
url = 'https://riot.im/app/#/register';
} else {
url = (