Remove unnecessary codes

This commit is contained in:
Gustavo Trott 2022-01-28 15:00:17 -03:00
parent eb567eb106
commit 38b256dba5
2 changed files with 3 additions and 6 deletions

View File

@ -1,14 +1,12 @@
package org.bigbluebutton.core.apps.breakout package org.bigbluebutton.core.apps.breakout
import org.bigbluebutton.common2.msgs._ import org.bigbluebutton.common2.msgs._
import org.bigbluebutton.core.api.{ ExtendBreakoutRoomTimeInternalMsg, SendMessageToBreakoutRoomInternalMsg, SendTimeRemainingAuditInternalMsg } import org.bigbluebutton.core.api.{ SendMessageToBreakoutRoomInternalMsg }
import org.bigbluebutton.core.apps.groupchats.GroupChatApp
import org.bigbluebutton.core.apps.{ PermissionCheck, RightsManagementTrait } import org.bigbluebutton.core.apps.{ PermissionCheck, RightsManagementTrait }
import org.bigbluebutton.core.bus.BigBlueButtonEvent import org.bigbluebutton.core.bus.BigBlueButtonEvent
import org.bigbluebutton.core.domain.MeetingState2x import org.bigbluebutton.core.domain.MeetingState2x
import org.bigbluebutton.core.models.{ GroupChatMessage, RegisteredUsers } import org.bigbluebutton.core.models.{ RegisteredUsers }
import org.bigbluebutton.core.running.{ MeetingActor, OutMsgRouter } import org.bigbluebutton.core.running.{ MeetingActor, OutMsgRouter }
import org.bigbluebutton.core.util.TimeUtil
trait SendMessageToAllBreakoutRoomsMsgHdlr extends RightsManagementTrait { trait SendMessageToAllBreakoutRoomsMsgHdlr extends RightsManagementTrait {
this: MeetingActor => this: MeetingActor =>
@ -33,7 +31,7 @@ trait SendMessageToAllBreakoutRoomsMsgHdlr extends RightsManagementTrait {
val event = buildSendMessageToAllBreakoutRoomsEvtMsg(msg.header.userId, msg.body.msg, breakoutModel.rooms.size) val event = buildSendMessageToAllBreakoutRoomsEvtMsg(msg.header.userId, msg.body.msg, breakoutModel.rooms.size)
outGW.send(event) outGW.send(event)
log.debug("Sending message '{}' for breakout rooms in meeting {}", msg.body.msg, props.meetingProp.intId) log.debug("Sending message '{}' to all breakout rooms in meeting {}", msg.body.msg, props.meetingProp.intId)
} }
state state

View File

@ -29,4 +29,3 @@ export default withTracker((props) => {
userMessagesTooAllBreakouts, userMessagesTooAllBreakouts,
}; };
})(MessageFormContainer); })(MessageFormContainer);
// export default MessageFormContainer;