From 4866606eb708bbc82804e4910f14025c53f67c10 Mon Sep 17 00:00:00 2001
From: JoramWilander <jwawilander@gmail.com>
Date: Wed, 12 Aug 2015 14:52:43 -0400
Subject: minor bug fixes to pending posts

---
 web/react/components/post_right.jsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'web/react/components/post_right.jsx')

diff --git a/web/react/components/post_right.jsx b/web/react/components/post_right.jsx
index 8672df439..e081e0e6c 100644
--- a/web/react/components/post_right.jsx
+++ b/web/react/components/post_right.jsx
@@ -147,6 +147,7 @@ CommentPost = React.createClass({
             function(data) {
                 AsyncClient.getPosts(true);
 
+                var channel = ChannelStore.get(post.channel_id);
                 var member = ChannelStore.getMember(post.channel_id);
                 member.msg_count = channel.total_msg_count;
                 member.last_viewed_at = (new Date).getTime();
-- 
cgit v1.2.3-1-g7c22

