diff options
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/actions/post_actions.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/actions/post_actions.jsx b/webapp/actions/post_actions.jsx index 81935f615..be7234c13 100644 --- a/webapp/actions/post_actions.jsx +++ b/webapp/actions/post_actions.jsx @@ -65,7 +65,7 @@ export function handleNewPost(post, msg) { } function completePostReceive(post, websocketMessageProps) { - if (post.root_id && Selectors.getPost(getState(), post.root_id) != null) { + if (post.root_id && Selectors.getPost(getState(), post.root_id) == null) { getPostThread(post.root_id)(dispatch, getState).then( (data) => { // Need manual dispatch to remove pending post |