summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-12-08 08:41:10 -0800
committerCorey Hulen <corey@hulen.com>2015-12-08 08:41:10 -0800
commitf449a4a0734a8f79da1b3c473675ffd0c810dc4c (patch)
treee5ac7367eee3b633479569c6959ea0b1ff7318e1
parent0d69151052728a7f5059cc84939af3035c2a0c15 (diff)
parent71dd5b68cc36d20c93bd8e80adc90cd9a5305aae (diff)
downloadchat-f449a4a0734a8f79da1b3c473675ffd0c810dc4c.tar.gz
chat-f449a4a0734a8f79da1b3c473675ffd0c810dc4c.tar.bz2
chat-f449a4a0734a8f79da1b3c473675ffd0c810dc4c.zip
Merge pull request #1650 from mattermost/plt-1389
PLT-1389 Fix edited posts not updating by websocket
-rw-r--r--web/react/stores/socket_store.jsx1
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) {