diff options
author | Florian Orben <florian.orben@gmail.com> | 2015-10-25 02:00:55 +0100 |
---|---|---|
committer | Florian Orben <florian.orben@gmail.com> | 2015-10-26 17:46:56 +0100 |
commit | 46042d995bc553a10513c527aba106e1b92d04d4 (patch) | |
tree | 3bd4a24ea82a4155daad93785b012c2e468eb0ec /web/react/components/create_post.jsx | |
parent | c590b6404208c9aaab0c5ed8d51e8415661658d9 (diff) | |
download | chat-46042d995bc553a10513c527aba106e1b92d04d4.tar.gz chat-46042d995bc553a10513c527aba106e1b92d04d4.tar.bz2 chat-46042d995bc553a10513c527aba106e1b92d04d4.zip |
PLT-703: Support multiple users being shown as typing underneath input boxes.
Diffstat (limited to 'web/react/components/create_post.jsx')
-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 055be112d..b74f1871c 100644 --- a/web/react/components/create_post.jsx +++ b/web/react/components/create_post.jsx @@ -208,7 +208,7 @@ export default class CreatePost extends React.Component { } const t = Date.now(); - if ((t - this.lastTime) > 5000) { + if ((t - this.lastTime) > Constants.UPDATE_TYPING_MS) { SocketStore.sendMessage({channel_id: this.state.channelId, action: 'typing', props: {parent_id: ''}, state: {}}); this.lastTime = t; } |