Refactor: Behebung Force-Sync ACK-Zaehler-Inflation, SHA-256 Hashing, Room-ID-Desinfizierung, Reduzierung MIN_SEEK_DELTA auf 2s und seekDebounce auf 300ms

This commit is contained in:
Timo
2026-05-30 02:00:17 +02:00
parent e2b76b05a1
commit f7096edd30
6 changed files with 30 additions and 27 deletions
+4
View File
@@ -942,6 +942,10 @@ function showError(msg) {
}
// --- Action Handlers ---
elements.roomId.addEventListener('input', () => {
elements.roomId.value = elements.roomId.value.replace(/[^a-zA-Z0-9\-]/g, '');
});
elements.joinBtn.addEventListener('click', async () => {
if (elements.joinBtn.disabled) return;
const roomIdInput = elements.roomId.value.trim();