Don't leave voice room on second click
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
import {
|
||||
deriveVoiceParticipants,
|
||||
joinVoiceRoom,
|
||||
leaveVoiceRoom,
|
||||
currentVoiceSession,
|
||||
isParticipantSpeaking,
|
||||
participantKey,
|
||||
@@ -31,7 +30,6 @@
|
||||
|
||||
const handleClick = async () => {
|
||||
if (isActive) {
|
||||
await leaveVoiceRoom()
|
||||
return
|
||||
}
|
||||
if (joinAbortController) {
|
||||
|
||||
Reference in New Issue
Block a user