diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-12-08 08:41:22 -0500 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-12-08 08:41:22 -0500 |
commit | 71dd5b68cc36d20c93bd8e80adc90cd9a5305aae (patch) | |
tree | 92df4161979c278d3c49c948f3b6ed4456138a4b /web/react | |
parent | a686bcc19af3b8a0a89abfb0f85cabeb65005e6e (diff) | |
download | chat-71dd5b68cc36d20c93bd8e80adc90cd9a5305aae.tar.gz chat-71dd5b68cc36d20c93bd8e80adc90cd9a5305aae.tar.bz2 chat-71dd5b68cc36d20c93bd8e80adc90cd9a5305aae.zip |
Fix edited posts not updating by websocket
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/stores/socket_store.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/stores/socket_store.jsx b/web/react/stores/socket_store.jsx index c8e3c8bdd..d5aed40cf 100644 --- a/web/react/stores/socket_store.jsx +++ b/web/react/stores/socket_store.jsx @@ -225,6 +225,7 @@ function handlePostEditEvent(msg) { // Store post const post = JSON.parse(msg.props.post); PostStore.storePost(post); + PostStore.emitChange(); // Update channel state if (ChannelStore.getCurrentId() === msg.channel_id) { |