fix(background): resolve missing closing brace syntax error in alarms onAlarm listener

This commit is contained in:
Timo
2026-05-18 19:44:01 +02:00
parent a71cdc3e53
commit 68b0f3306c
+2
View File
@@ -866,6 +866,8 @@ chrome.alarms.onAlarm.addListener(async (alarm) => {
});
}
}
});
function leaveOldRoomIfSwitching(newRoomId) {
if (currentRoom && currentRoom.roomId !== newRoomId) {
addLog(`Switching rooms: leaving ${currentRoom.roomId} to join ${newRoomId}`, 'info');