diff --git a/public/client.js b/public/client.js index ff8f5c3..74b78ac 100755 --- a/public/client.js +++ b/public/client.js @@ -696,7 +696,7 @@ function checkVideoAudioStatus() { // Handle hang-up button click function handleHangUpClick() { sendMsg({ type: 'leave', name: socket.recipient }); - thisConnection ? handleLeave(false) : handleLeave(true); + handleLeave(); } // Handle leaving the call