summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_right.jsx
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-08-12 14:52:43 -0400
committerJoramWilander <jwawilander@gmail.com>2015-08-18 08:59:26 -0400
commit4866606eb708bbc82804e4910f14025c53f67c10 (patch)
tree7b30b265d5649b2bbd2793c608f198b8282b1fc7 /web/react/components/post_right.jsx
parentfa1491bbfbb1261757943759edf44883d31e5477 (diff)
downloadchat-4866606eb708bbc82804e4910f14025c53f67c10.tar.gz
chat-4866606eb708bbc82804e4910f14025c53f67c10.tar.bz2
chat-4866606eb708bbc82804e4910f14025c53f67c10.zip
minor bug fixes to pending posts
Diffstat (limited to 'web/react/components/post_right.jsx')
-rw-r--r--web/react/components/post_right.jsx1
1 files changed, 1 insertions, 0 deletions
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();