Fix edited posts not updating by websocket

Этот коммит содержится в:
JoramWilander
2015-12-08 08:41:22 -05:00
родитель a686bcc19a
Коммит 71dd5b68cc

Просмотреть файл

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