From da3d8140dac6324d82d622413ad18301afa20e59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20M=C3=B6ller?= Date: Wed, 10 Jul 2024 16:40:16 -0300 Subject: [PATCH] Fix: Emoji animations are not being turned off by using the slider in settings. --- .../imports/ui/components/emoji-rain/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/emoji-rain/component.jsx b/bigbluebutton-html5/imports/ui/components/emoji-rain/component.jsx index 8cca52e402..d1e2bb1b26 100644 --- a/bigbluebutton-html5/imports/ui/components/emoji-rain/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/emoji-rain/component.jsx @@ -85,7 +85,7 @@ const EmojiRain = ({ reactions }) => { }, [EMOJI_RAIN_ENABLED, animations, isAnimating]); useEffect(() => { - if (isAnimating) { + if (isAnimating && animations !== false) { reactions.forEach((reaction) => { const currentTime = new Date().getTime(); const secondsSinceCreated = (currentTime - reaction.creationDate.getTime()) / 1000;