From 62c7f5a35a2acaf4f05851e8dfe5d1c46bac145c Mon Sep 17 00:00:00 2001 From: Jan Kessler Date: Thu, 30 Nov 2023 19:24:14 +0100 Subject: [PATCH] fix away and raiseHands 'reactions' being hidden by avatar image --- .../user-participants/user-list-item/component.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/component.jsx b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/component.jsx index 5cfb8695b645..d3e135fb6b24 100644 --- a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/component.jsx @@ -636,7 +636,9 @@ class UserListItem extends PureComponent { size: '1.3rem', }; - let userAvatarFiltered = user.avatar; + const userAvatarFiltered = (user.raiseHand === true || user.away === true || user.reaction !== 'none') + ? '' + : user.avatar; const emojiIcons = [ { @@ -661,7 +663,6 @@ class UserListItem extends PureComponent { } if (user.emoji !== 'none' && user.emoji !== 'notAway') { return ; } if (user.reaction !== 'none') { - userAvatarFiltered = ''; return user.reaction; } if (user.name) { return user.name.toLowerCase().slice(0, 2);