Fix edited posts not updating by websocket

This commit is contained in:
JoramWilander
2015-12-08 08:41:22 -05:00
parent a686bcc19a
commit 71dd5b68cc

View File

@@ -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) {