Merge pull request #19266 from Ithanil/fix_raise-hand_away_reactions
Fix: away and raiseHands 'reactions' being hidden by avatar image
This commit is contained in:
commit
792add0a3d
@ -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 <Icon iconName={normalizeEmojiName(user.emoji)} />;
|
||||
} if (user.reaction !== 'none') {
|
||||
userAvatarFiltered = '';
|
||||
return user.reaction;
|
||||
} if (user.name) {
|
||||
return user.name.toLowerCase().slice(0, 2);
|
||||
|
Loading…
Reference in New Issue
Block a user