From dcf11a14d8363c79ab62aefca46834d6daa615ab Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Tue, 6 Dec 2016 10:22:45 -0500 Subject: Don't show status for posts from webhooks (#4726) --- webapp/components/rhs_comment.jsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'webapp/components/rhs_comment.jsx') diff --git a/webapp/components/rhs_comment.jsx b/webapp/components/rhs_comment.jsx index f4cc0d8e5..bb04480ed 100644 --- a/webapp/components/rhs_comment.jsx +++ b/webapp/components/rhs_comment.jsx @@ -264,10 +264,15 @@ export default class RhsComment extends React.Component { ); } + let status = this.props.status; + if (post.props && post.props.from_webhook === 'true') { + status = null; + } + let profilePic = ( ); -- cgit v1.2.3-1-g7c22