Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

eslint: Fix unicorn/prefer-url-href.

Anders Kaseorg9a0007d08d22
diff --git a/web/src/compose_call_ui.ts b/web/src/compose_call_ui.ts
index bca64e2f9b9..2237e12071f 100644
--- a/web/src/compose_call_ui.ts
+++ b/web/src/compose_call_ui.ts
@@ -338,7 +338,7 @@ export function generate_and_insert_audio_or_video_call_link(
*/
const video_muted = is_audio_call ? "true" : "false";
video_call_url.hash = `config.startWithVideoMuted=${video_muted}`;
- const video_call_link = video_call_url.toString();
+ const video_call_link = video_call_url.href;
if (is_audio_call) {
insert_audio_call_url(video_call_link, $target_textarea);