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

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
automated-signal 2022-04-13 13:11:58 -07:00 committed by GitHub
parent 38f8f497ee
commit 9d03d164e1
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));
}