From 9d03d164e14c8c0e19ecc834d3ef251413e6e7df Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Wed, 13 Apr 2022 13:11:58 -0700 Subject: [PATCH] Don't apply custom color style if message is deleted for everyone Co-authored-by: Scott Nonnenberg --- ts/components/conversation/Message.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/components/conversation/Message.tsx b/ts/components/conversation/Message.tsx index 3757216c1..dabe7d710 100644 --- a/ts/components/conversation/Message.tsx +++ b/ts/components/conversation/Message.tsx @@ -2628,7 +2628,7 @@ export class Message extends React.PureComponent { const containerStyles = { width: isShowingImage ? width : undefined, }; - if (!isStickerLike && direction === 'outgoing') { + if (!isStickerLike && !deletedForEveryone && direction === 'outgoing') { Object.assign(containerStyles, getCustomColorStyle(customColor)); }