|
@@ -408,6 +408,9 @@ public class ImLiveBroadcastRoomServiceImpl extends ServiceImpl<ImLiveBroadcastR
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public void whetherChat(Integer id, Integer whetherChat) {
|
|
|
+ if (whetherChat == null) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
ImLiveBroadcastRoom obj = this.getById(id);
|
|
|
ImLiveBroadcastRoomDto.RoomConfig roomConfig = getRoomConfig(obj.getRoomConfig()).orElse(null);
|
|
|
if (Objects.isNull(roomConfig)) {
|