Skip to content

Commit

Permalink
use room_id local var
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Brichet <[email protected]>
  • Loading branch information
dlqqq and brichet authored Dec 5, 2024
1 parent 5d89204 commit 76de7a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jupyter-ai/jupyter_ai/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ async def connect_chat(
self.log.info(f"Connecting to a chat room with room ID: {room_id}.")

# get YChat document associated with the room
ychat = await self.get_chat(data["room"])
ychat = await self.get_chat(room_id)
if ychat is None:
return

Expand Down

0 comments on commit 76de7a7

Please sign in to comment.