Skip to content

Commit 5c38192

Browse files
committed
only join call rooms automatically
1 parent 3cacb18 commit 5c38192

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/app/features/room-nav/RoomNavItem.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,7 @@ export function RoomNavItem({
313313
};
314314

315315
const handleNavItemClick: MouseEventHandler<HTMLElement> = (evt) => {
316-
// Merge: Handle Call Rooms OR DMs with active calls
317-
if (room.isCallRoom() || (direct && callMembers.length > 0)) {
318-
// Upstream safety checks: verify Livekit support or active participants
316+
if (room.isCallRoom()) {
319317
if (!livekitSupport(autoDiscoveryInfo) && callMembers.length === 0) return;
320318
if (callEmbed && !isActiveCall) return;
321319

0 commit comments

Comments
 (0)