diff --git a/akka-bbb-apps/src/main/scala/org/bigbluebutton/endpoint/redis/LearningDashboardActor.scala b/akka-bbb-apps/src/main/scala/org/bigbluebutton/endpoint/redis/LearningDashboardActor.scala index 1712286448..63ded0f632 100644 --- a/akka-bbb-apps/src/main/scala/org/bigbluebutton/endpoint/redis/LearningDashboardActor.scala +++ b/akka-bbb-apps/src/main/scala/org/bigbluebutton/endpoint/redis/LearningDashboardActor.scala @@ -397,7 +397,7 @@ class LearningDashboardActor( user <- findUserByIntId(meeting, msg.body.userId) } yield { if (msg.body.reactionEmoji != "none") { - //Not considering flooding reactions, ignoring if same Emoji was sent in the last 30 seconds + //Ignore multiple Reactions to prevent flooding val hasSameReactionInLast30Seconds = user.reactions.filter(r => { System.currentTimeMillis() - r.sentOn < (30 * 1000) && r.name == msg.body.reactionEmoji }).length > 0