diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-08-18 10:40:11 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-08-18 10:40:11 -0400 |
commit | 90b492303ddb37cb378b8859ba95701e0198f1ff (patch) | |
tree | aa29a655622b90304f96ca8dc9cae3d4bacc015e /web | |
parent | 532be141bae8ff2ea03de4fa54affd6e72dab9ea (diff) | |
parent | 0b6fa5db22f0787157b5613f62202efd939b6c57 (diff) | |
download | chat-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.jsx | 2 |
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; } }, |