Force message not rerendering on moderator privilages. Closes #1538
This commit is contained in:
parent
34365e65bf
commit
a964f02089
@ -25,7 +25,10 @@ export default class ChatMessageView extends Component {
|
||||
const { formattedMessage } = this.state;
|
||||
const { formattedMessage: nextFormattedMessage } = nextState;
|
||||
|
||||
return formattedMessage !== nextFormattedMessage;
|
||||
return (
|
||||
formattedMessage !== nextFormattedMessage ||
|
||||
(!this.props.isModerator && nextProps.isModerator)
|
||||
);
|
||||
}
|
||||
|
||||
async componentDidMount() {
|
||||
|
Loading…
Reference in New Issue
Block a user