summaryrefslogtreecommitdiffstats
path: root/webapp/actions
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-11-14 07:38:05 -0500
committerChristopher Speller <crspeller@gmail.com>2016-11-14 07:38:05 -0500
commita25ae8fed2b72f88b6ba5a9a0a6110fab085470c (patch)
treef7873d726ad85d183c9bcd9fdcf0da43370be375 /webapp/actions
parent602f85d2efe6b9127c0cd79618757c3ff2b0ef5b (diff)
downloadchat-a25ae8fed2b72f88b6ba5a9a0a6110fab085470c.tar.gz
chat-a25ae8fed2b72f88b6ba5a9a0a6110fab085470c.tar.bz2
chat-a25ae8fed2b72f88b6ba5a9a0a6110fab085470c.zip
Off screen edited posts no longer show up as new posts (#4485)
Diffstat (limited to 'webapp/actions')
-rw-r--r--webapp/actions/websocket_actions.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/actions/websocket_actions.jsx b/webapp/actions/websocket_actions.jsx
index 36c6cbdc9..8632f4135 100644
--- a/webapp/actions/websocket_actions.jsx
+++ b/webapp/actions/websocket_actions.jsx
@@ -180,7 +180,7 @@ function handleNewPostEvent(msg) {
function handlePostEditEvent(msg) {
// Store post
const post = JSON.parse(msg.data.post);
- PostStore.storePost(post);
+ PostStore.storePost(post, false);
PostStore.emitChange();
// Update channel state