发送幸运礼物更改

This commit is contained in:
tianfeng 2026-03-05 19:36:08 +08:00
parent 5265fdc9f6
commit 2bcec3fa54

View File

@ -290,7 +290,7 @@ public class GameLuckyGiftCommon {
return; return;
} }
// 在自己的房间直接返回 // 在自己的房间直接返回
RoomProfileManager profileManager = roomProfileManagerService.getById(param.getRoomId()); RoomProfileManager profileManager = roomProfileManagerService.getByUserId(param.getUserId());
if (profileManager == null || Objects.equals(profileManager.getId(), roomMember.getRoomId())) { if (profileManager == null || Objects.equals(profileManager.getId(), roomMember.getRoomId())) {
return; return;
} }