aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorchref <33349974+chref@users.noreply.github.com>2020-07-03 16:43:42 +0200
committerGitHub <noreply@github.com>2020-07-03 16:43:42 +0200
commite4742dbc995a10b5a1eef84ca65ced725cbd95a7 (patch)
tree7bada3f6069285ebc2af973878b323d8c92d5c58 /main.js
parentc1746ecdb5b83a423e56ddf5c7347a0020a6ec27 (diff)
Fix join via protocol link on Linux (#413)
Perform command-line protocol argument handling on all platforms, not only win32. This allows the client to join a meeting passed on the command-line even if it is no instance of the client already running.
Diffstat (limited to 'main.js')
-rw-r--r--main.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/main.js b/main.js
index 137fe8d..4a450c7 100644
--- a/main.js
+++ b/main.js
@@ -222,14 +222,11 @@ function createJitsiMeetWindow() {
});
/**
- * This is for windows [win32]
- * so when someone tries to enter something like jitsi-meet://test
+ * When someone tries to enter something like jitsi-meet://test
* while app is closed
* it will trigger this event below
*/
- if (process.platform === 'win32') {
- handleProtocolCall(process.argv.pop());
- }
+ handleProtocolCall(process.argv.pop());
}
/**