Fix typing socket constant

This commit is contained in:
JoramWilander
2015-10-15 10:57:09 -04:00
parent 2b5ec4a3c0
commit 20723437aa
2 changed files with 3 additions and 3 deletions

View File

@@ -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';

View File

@@ -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'],