From 16a8d3d016d004df94c6905c3f8260b901c2264d Mon Sep 17 00:00:00 2001 From: enahum Date: Tue, 6 Sep 2016 17:40:58 -0300 Subject: PLT-4080 Remove the option to reply to system messages (#3974) --- webapp/components/post_view/components/post_info.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp') diff --git a/webapp/components/post_view/components/post_info.jsx b/webapp/components/post_view/components/post_info.jsx index c67440554..3c0eb9880 100644 --- a/webapp/components/post_view/components/post_info.jsx +++ b/webapp/components/post_view/components/post_info.jsx @@ -264,7 +264,7 @@ export default class PostInfo extends React.Component { highlightMentionClass = ' mention--highlight'; } - if (post.state !== Constants.POST_FAILED && post.state !== Constants.POST_LOADING && !Utils.isPostEphemeral(post)) { + if (post.state !== Constants.POST_FAILED && post.state !== Constants.POST_LOADING && !Utils.isPostEphemeral(post) && this.props.allowReply) { comments = (