summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-07-13 12:55:20 -0400
committerChristopher Speller <crspeller@gmail.com>2016-07-13 12:55:20 -0400
commit006fc6c253936505ecfb7f0d2a8f85736d4f144a (patch)
treebe53cba29abbc706e5318bbac6f5352f87244561 /webapp
parent1df0488932f93fc61f6ff79d6c0d784b24279d36 (diff)
downloadchat-006fc6c253936505ecfb7f0d2a8f85736d4f144a.tar.gz
chat-006fc6c253936505ecfb7f0d2a8f85736d4f144a.tar.bz2
chat-006fc6c253936505ecfb7f0d2a8f85736d4f144a.zip
Fixes reading wrong websocket message property (#3580)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/actions/post_actions.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/actions/post_actions.jsx b/webapp/actions/post_actions.jsx
index 2b55e31ef..866ae5888 100644
--- a/webapp/actions/post_actions.jsx
+++ b/webapp/actions/post_actions.jsx
@@ -26,7 +26,7 @@ export function handleNewPost(post, msg) {
var websocketMessageProps = null;
if (msg) {
- websocketMessageProps = msg.props;
+ websocketMessageProps = msg.data;
}
if (post.root_id && PostStore.getPost(post.channel_id, post.root_id) == null) {