mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-08-27 11:07:07 +00:00
fix(background): resolve missing closing brace syntax error in alarms onAlarm listener
This commit is contained in:
@@ -866,6 +866,8 @@ chrome.alarms.onAlarm.addListener(async (alarm) => {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
|
||||||
function leaveOldRoomIfSwitching(newRoomId) {
|
function leaveOldRoomIfSwitching(newRoomId) {
|
||||||
if (currentRoom && currentRoom.roomId !== newRoomId) {
|
if (currentRoom && currentRoom.roomId !== newRoomId) {
|
||||||
addLog(`Switching rooms: leaving ${currentRoom.roomId} to join ${newRoomId}`, 'info');
|
addLog(`Switching rooms: leaving ${currentRoom.roomId} to join ${newRoomId}`, 'info');
|
||||||
|
|||||||
Reference in New Issue
Block a user