From 71dd5b68cc36d20c93bd8e80adc90cd9a5305aae Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Tue, 8 Dec 2015 08:41:22 -0500 Subject: Fix edited posts not updating by websocket --- web/react/stores/socket_store.jsx | 1 + 1 file changed, 1 insertion(+) 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) { -- cgit v1.2.3-1-g7c22