Don't leave voice room on second click

This commit is contained in:
mplorentz
2026-03-13 09:55:51 -04:00
committed by hodlbod
parent b340b9e76d
commit 5135da826e
-2
View File
@@ -10,7 +10,6 @@
import { import {
deriveVoiceParticipants, deriveVoiceParticipants,
joinVoiceRoom, joinVoiceRoom,
leaveVoiceRoom,
currentVoiceSession, currentVoiceSession,
isParticipantSpeaking, isParticipantSpeaking,
participantKey, participantKey,
@@ -31,7 +30,6 @@
const handleClick = async () => { const handleClick = async () => {
if (isActive) { if (isActive) {
await leaveVoiceRoom()
return return
} }
if (joinAbortController) { if (joinAbortController) {