summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-08-18 10:40:11 -0400
committerJoram Wilander <jwawilander@gmail.com>2015-08-18 10:40:11 -0400
commit90b492303ddb37cb378b8859ba95701e0198f1ff (patch)
treeaa29a655622b90304f96ca8dc9cae3d4bacc015e /web
parent532be141bae8ff2ea03de4fa54affd6e72dab9ea (diff)
parent0b6fa5db22f0787157b5613f62202efd939b6c57 (diff)
downloadchat-90b492303ddb37cb378b8859ba95701e0198f1ff.tar.gz
chat-90b492303ddb37cb378b8859ba95701e0198f1ff.tar.bz2
chat-90b492303ddb37cb378b8859ba95701e0198f1ff.zip
Merge pull request #392 from hmhealey/typingfix
Fixed 'X is typing...' messages being malformed when sent to the server
Diffstat (limited to 'web')
-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;
}
},