Fix typing socket constant
Этот коммит содержится в:
@@ -37,8 +37,8 @@ export default class MsgTyping extends React.Component {
|
|||||||
|
|
||||||
onChange(msg) {
|
onChange(msg) {
|
||||||
if (msg.action === SocketEvents.TYPING &&
|
if (msg.action === SocketEvents.TYPING &&
|
||||||
this.props.channelId === msg.channel_id &&
|
this.props.channelId === msg.channel_id &&
|
||||||
this.props.parentId === msg.props.parent_id) {
|
this.props.parentId === msg.props.parent_id) {
|
||||||
this.lastTime = new Date().getTime();
|
this.lastTime = new Date().getTime();
|
||||||
|
|
||||||
var username = 'Someone';
|
var username = 'Someone';
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ module.exports = {
|
|||||||
NEW_USER: 'new_user',
|
NEW_USER: 'new_user',
|
||||||
USER_ADDED: 'user_added',
|
USER_ADDED: 'user_added',
|
||||||
USER_REMOVED: 'user_removed',
|
USER_REMOVED: 'user_removed',
|
||||||
TYPING: 'user_typing'
|
TYPING: 'typing'
|
||||||
},
|
},
|
||||||
|
|
||||||
SPECIAL_MENTIONS: ['all', 'channel'],
|
SPECIAL_MENTIONS: ['all', 'channel'],
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user