From dc91d0ab8c8a37b3545b7f43f2712e21b4a1ae6d Mon Sep 17 00:00:00 2001 From: Andy Burke Date: Fri, 4 Jul 2025 13:30:55 -0700 Subject: [PATCH] fix: more work on room loading --- public/tabs/talk.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/tabs/talk.html b/public/tabs/talk.html index bfd51a7..8db3eb0 100644 --- a/public/tabs/talk.html +++ b/public/tabs/talk.html @@ -340,12 +340,14 @@ const room_id = hash.substring(12) || first_room_id; if (!room_id) { + setTimeout(check_for_room_in_url, 100); return; } const room_chat_container = document.getElementById("room-chat-container"); if (room_chat_container.dataset.room_id !== room_id) { + window.location.hash = `/talk/room/${room_id}`; room_chat_container.dataset.room_id = room_id; load_room(room_id); }