Skip to content

Commit 4f32be9

Browse files
authored
Merge pull request #8239 from vector-im/dbkr/desktop_app_email_link
Fix registration nextLink on desktop
2 parents 697c7f9 + 25ef091 commit 4f32be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vector/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function onNewScreen(screen) {
140140
// so in that instance, hardcode to use riot.im/app for now instead.
141141
function makeRegistrationUrl(params) {
142142
let url;
143-
if (window.location.protocol === "file:") {
143+
if (window.location.protocol === "vector:") {
144144
url = 'https://riot.im/app/#/register';
145145
} else {
146146
url = (

0 commit comments

Comments
 (0)