Fix edited posts not updating by websocket
Этот коммит содержится в:
@@ -225,6 +225,7 @@ function handlePostEditEvent(msg) {
|
|||||||
// Store post
|
// Store post
|
||||||
const post = JSON.parse(msg.props.post);
|
const post = JSON.parse(msg.props.post);
|
||||||
PostStore.storePost(post);
|
PostStore.storePost(post);
|
||||||
|
PostStore.emitChange();
|
||||||
|
|
||||||
// Update channel state
|
// Update channel state
|
||||||
if (ChannelStore.getCurrentId() === msg.channel_id) {
|
if (ChannelStore.getCurrentId() === msg.channel_id) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user