From c6227369231b2c3364ff2a3c06ad1a8cd02d965f Mon Sep 17 00:00:00 2001 From: sayandippaul Date: Tue, 30 Jul 2024 13:59:56 +0530 Subject: [PATCH] betteer --- public/js/chat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/chat.js b/public/js/chat.js index dcd3618..89b00fb 100644 --- a/public/js/chat.js +++ b/public/js/chat.js @@ -1278,9 +1278,9 @@ socket.on("startvideocall",function(data){ // Extract room ID from URL - window.location.href = `/videocall/${data.room}`; + - videocalllink=roomId; + videocalllink= `/videocall/${data.room}`; acceptroom=data.room; // if(confirm("Do you want to join the video call?")==true){ // }