fix: correct websocket reconnection logic for legacy signaling

This commit is contained in:
Adam Shiervani 2025-10-14 16:50:36 +02:00
parent 1cf7dd4be9
commit 29b0ac778a
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ export default function KvmIdRoute() {
shouldReconnect(event) {
console.debug("[Websocket] shouldReconnect", event);
return isLegacySignalingEnabled.current;
return !isLegacySignalingEnabled.current;
},
onClose(event) {