summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-09-06 17:40:58 -0300
committerGitHub <noreply@github.com>2016-09-06 17:40:58 -0300
commit16a8d3d016d004df94c6905c3f8260b901c2264d (patch)
tree533c859baf76fb073c14261b50ee6dc8ec300dc3 /webapp
parent449b0665983bf83f1be7293b1bcc5d261dfcda02 (diff)
downloadchat-16a8d3d016d004df94c6905c3f8260b901c2264d.tar.gz
chat-16a8d3d016d004df94c6905c3f8260b901c2264d.tar.bz2
chat-16a8d3d016d004df94c6905c3f8260b901c2264d.zip
PLT-4080 Remove the option to reply to system messages (#3974)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/post_view/components/post_info.jsx2
1 files changed, 1 insertions, 1 deletions
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 = (
<a
href='#'