summaryrefslogtreecommitdiffstats
path: root/web/react/components/create_post.jsx
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-08-18 09:57:54 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-08-18 09:57:54 -0400
commit0b6fa5db22f0787157b5613f62202efd939b6c57 (patch)
treeaa29a655622b90304f96ca8dc9cae3d4bacc015e /web/react/components/create_post.jsx
parent532be141bae8ff2ea03de4fa54affd6e72dab9ea (diff)
downloadchat-0b6fa5db22f0787157b5613f62202efd939b6c57.tar.gz
chat-0b6fa5db22f0787157b5613f62202efd939b6c57.tar.bz2
chat-0b6fa5db22f0787157b5613f62202efd939b6c57.zip
Fixed 'X is typing...' messages being malformed when sent to the server
Diffstat (limited to 'web/react/components/create_post.jsx')
-rw-r--r--web/react/components/create_post.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/create_post.jsx b/web/react/components/create_post.jsx
index 3714560ea..3aa8cc39b 100644
--- a/web/react/components/create_post.jsx
+++ b/web/react/components/create_post.jsx
@@ -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;
}
},