Skip to content

Bug: Fix language sync between users in LeetCode interviews#18

Open
adarshm11 wants to merge 1 commit into
mainfrom
collab-lang-sync
Open

Bug: Fix language sync between users in LeetCode interviews#18
adarshm11 wants to merge 1 commit into
mainfrom
collab-lang-sync

Conversation

@adarshm11
Copy link
Copy Markdown
Collaborator

Problem

Previously, when a second user joined the room for a LeetCode-style interview, there was a bug where the second user's side always defaulted the room language to JavaScript, which caused syntax errors.

Fix

The request now fetches the room's language state before loading in, ensuring seamless language synchronization.

Testing

This was tested locally and verified to be patched!

@MatthewTran22 MatthewTran22 self-requested a review May 13, 2026 22:15
Copy link
Copy Markdown

@MatthewTran22 MatthewTran22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants