|
@@ -1844,7 +1844,12 @@ public class RoomServiceImpl implements RoomService {
|
|
|
|
|
|
// 同步全员静音状态, 取消静音
|
|
|
if (Objects.nonNull(data.getMicrophoneOn()) || Objects.nonNull(data.getCancelMuteFlag())) {
|
|
|
- courseScheduleDao.updateGroupMuteAllStatus(courseScheduleId, !data.getMicrophoneOn(), data.getCancelMuteFlag());
|
|
|
+
|
|
|
+ Boolean muteAll = null;
|
|
|
+ if (Objects.nonNull(data.getMicrophoneOn())) {
|
|
|
+ muteAll = !data.getMicrophoneOn();
|
|
|
+ }
|
|
|
+ courseScheduleDao.updateGroupMuteAllStatus(courseScheduleId, muteAll, data.getCancelMuteFlag());
|
|
|
|
|
|
// 修改网管课群自定义属性
|
|
|
RTCRoomPluginService pluginService = rtcRoomPluginContext.getPluginService(courseSchedule.getServiceProvider());
|