From 3a6694cc6b52ba0022a92373df9f07b7bf080240 Mon Sep 17 00:00:00 2001
From: enahum <nahumhbl@gmail.com>
Date: Tue, 7 Jun 2016 18:43:36 -0300
Subject: PLT-3203 Commenting on the RHS while in permalink view makes the
 message not show up in the RHS (#3282)

---
 webapp/components/create_comment.jsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'webapp/components/create_comment.jsx')

diff --git a/webapp/components/create_comment.jsx b/webapp/components/create_comment.jsx
index 73758e73c..a9cf68833 100644
--- a/webapp/components/create_comment.jsx
+++ b/webapp/components/create_comment.jsx
@@ -5,6 +5,7 @@ import $ from 'jquery';
 import ReactDOM from 'react-dom';
 import AppDispatcher from '../dispatcher/app_dispatcher.jsx';
 import Client from 'utils/web_client.jsx';
+import * as AsyncClient from 'utils/async_client.jsx';
 import ChannelStore from 'stores/channel_store.jsx';
 import UserStore from 'stores/user_store.jsx';
 import PostDeletedModal from './post_deleted_modal.jsx';
@@ -150,6 +151,8 @@ class CreateComment extends React.Component {
         Client.createPost(
             post,
             (data) => {
+                AsyncClient.getPosts(this.props.channelId);
+
                 const channel = ChannelStore.get(this.props.channelId);
                 const member = ChannelStore.getMember(this.props.channelId);
                 member.msg_count = channel.total_msg_count;
-- 
cgit v1.2.3-1-g7c22

