Fixed copy paste error

This commit is contained in:
Steffen Kolmer 2020-11-27 17:25:34 +01:00 committed by GitHub
parent 2f72c9ee55
commit 0e53e220d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -804,7 +804,7 @@ export default class RoomView extends React.Component<IProps, IState> {
this.state.room.getUnreadNotificationCount() === 0) return; this.state.room.getUnreadNotificationCount() === 0) return;
CHAT_EFFECTS.forEach(effect => { CHAT_EFFECTS.forEach(effect => {
if (containsEmoji(ev.getContent(), effect.emojis) || ev.getContent().msgtype === effect.msgType) { if (containsEmoji(ev.getContent(), effect.emojis) || ev.getContent().msgtype === effect.msgType) {
dis.dispatch({action: `CHAT_EFFECTS.${effect.command}`}); dis.dispatch({action: `effects.${effect.command}`});
} }
}) })
}; };