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:
parent
38f8f497ee
commit
9d03d164e1
|
@ -2628,7 +2628,7 @@ export class Message extends React.PureComponent<Props, State> {
|
||||||
const containerStyles = {
|
const containerStyles = {
|
||||||
width: isShowingImage ? width : undefined,
|
width: isShowingImage ? width : undefined,
|
||||||
};
|
};
|
||||||
if (!isStickerLike && direction === 'outgoing') {
|
if (!isStickerLike && !deletedForEveryone && direction === 'outgoing') {
|
||||||
Object.assign(containerStyles, getCustomColorStyle(customColor));
|
Object.assign(containerStyles, getCustomColorStyle(customColor));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue