Fixed 'X is typing...' messages being malformed when sent to the server

Этот коммит содержится в:
hmhealey
2015-08-18 09:57:54 -04:00
родитель 532be141ba
Коммит 0b6fa5db22

Просмотреть файл

@@ -127,7 +127,7 @@ module.exports = React.createClass({
var t = Date.now();
if ((t - this.lastTime) > 5000) {
SocketStore.sendMessage({channelId: this.state.channelId, action: 'typing', props: {'parent_id': ''}, state: {}});
SocketStore.sendMessage({channel_id: this.state.channelId, action: 'typing', props: {'parent_id': ''}, state: {}});
this.lastTime = t;
}
},