Don't apply custom color style if message is deleted for everyone

This commit is contained in:
Scott Nonnenberg 2022-04-11 09:45:50 -07:00 committed by GitHub
parent e150353f3f
commit 45fcf827dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2628,7 +2628,7 @@ export class Message extends React.PureComponent<Props, State> {
const containerStyles = {
width: isShowingImage ? width : undefined,
};
if (!isStickerLike && direction === 'outgoing') {
if (!isStickerLike && !deletedForEveryone && direction === 'outgoing') {
Object.assign(containerStyles, getCustomColorStyle(customColor));
}