Skip to content

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

Merged
adarshm11 merged 1 commit into
mainfrom
collab-lang-sync
May 14, 2026
Merged

Bug: Fix language sync between users in LeetCode interviews#18
adarshm11 merged 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

@adarshm11 adarshm11 merged commit 1d07698 into main May 14, 2026
1 check passed
@adarshm11 adarshm11 deleted the collab-lang-sync branch May 14, 2026 06:06
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