From 888b1be812bf84c21971f54fa7cf692d447b74ec Mon Sep 17 00:00:00 2001 From: Muihd <1083092844@qq.com> Date: Wed, 30 Apr 2025 21:49:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=84=E5=8A=A0=E6=88=BF=E9=97=B4=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=20=E6=97=B6=E6=9D=A1=E4=BB=B6=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E6=88=BF=E9=97=B4=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BarrageGrab/Server/WsBarrageServer.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/BarrageGrab/Server/WsBarrageServer.cs b/BarrageGrab/Server/WsBarrageServer.cs index 37e4e40..68c94c5 100644 --- a/BarrageGrab/Server/WsBarrageServer.cs +++ b/BarrageGrab/Server/WsBarrageServer.cs @@ -300,8 +300,12 @@ namespace BarrageGrab UserId = roomInfo.Owner.UserId }; - msg.WebRoomId = roomInfo.WebRoomId; - msg.RoomTitle = roomInfo.Title; + if (msg.WebRoomId.IsNullOrWhiteSpace()) + { + msg.WebRoomId = roomInfo.WebRoomId; + msg.RoomTitle = roomInfo.Title; + msg.IsAnonymous = roomInfo.IsAnonymous; + } } //粉丝团