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_root_post.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'webapp/components/rhs_root_post.jsx') diff --git a/webapp/components/rhs_root_post.jsx b/webapp/components/rhs_root_post.jsx index 1e6ed4ff5..6f4372973 100644 --- a/webapp/components/rhs_root_post.jsx +++ b/webapp/components/rhs_root_post.jsx @@ -274,10 +274,15 @@ export default class RhsRootPost extends React.Component { ); } + let status = this.props.status; + if (post.props && post.props.from_webhook === 'true') { + status = null; + } + let profilePic = (