Merge pull request #1650 from mattermost/plt-1389

PLT-1389 Fix edited posts not updating by websocket
Этот коммит содержится в:
Corey Hulen
2015-12-08 08:41:10 -08:00
родитель 0d69151052 71dd5b68cc
Коммит f449a4a073

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

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