From a58b4cb17248094f7b12d2c4d904299f2c8bfab6 Mon Sep 17 00:00:00 2001 From: MingxuanGame Date: Sat, 27 Dec 2025 19:30:09 +0800 Subject: [PATCH] fix(multiplayer): channel is not set as mp channel --- app/router/lio.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/router/lio.py b/app/router/lio.py index e9bcc18..c43c0fe 100644 --- a/app/router/lio.py +++ b/app/router/lio.py @@ -61,6 +61,9 @@ async def _ensure_room_chat_channel( await db.refresh(room) if room.channel_id is None: room.channel_id = ch.channel_id + await db.commit() + await db.refresh(ch) + await db.refresh(room) else: room.channel_id = ch.channel_id