Don't apply custom color style if message is deleted for everyone
This commit is contained in:
parent
e150353f3f
commit
45fcf827dd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue