mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix typing socket constant
This commit is contained in:
@@ -37,8 +37,8 @@ export default class MsgTyping extends React.Component {
|
||||
|
||||
onChange(msg) {
|
||||
if (msg.action === SocketEvents.TYPING &&
|
||||
this.props.channelId === msg.channel_id &&
|
||||
this.props.parentId === msg.props.parent_id) {
|
||||
this.props.channelId === msg.channel_id &&
|
||||
this.props.parentId === msg.props.parent_id) {
|
||||
this.lastTime = new Date().getTime();
|
||||
|
||||
var username = 'Someone';
|
||||
|
||||
@@ -56,7 +56,7 @@ module.exports = {
|
||||
NEW_USER: 'new_user',
|
||||
USER_ADDED: 'user_added',
|
||||
USER_REMOVED: 'user_removed',
|
||||
TYPING: 'user_typing'
|
||||
TYPING: 'typing'
|
||||
},
|
||||
|
||||
SPECIAL_MENTIONS: ['all', 'channel'],
|
||||
|
||||
Reference in New Issue
Block a user