You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Fixed copy paste error
This commit is contained in:
@ -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}`});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user