From 7533062f6c90762d899f67f5b30be2848102f813 Mon Sep 17 00:00:00 2001 From: enahum Date: Fri, 2 Sep 2016 12:23:51 -0300 Subject: PLT-3918 Turn off replies for System Messages (#3922) --- webapp/components/post_view/components/post_header.jsx | 5 +++-- webapp/components/post_view/components/post_info.jsx | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'webapp/components') diff --git a/webapp/components/post_view/components/post_header.jsx b/webapp/components/post_view/components/post_header.jsx index 6c356126d..27715e5f5 100644 --- a/webapp/components/post_view/components/post_header.jsx +++ b/webapp/components/post_view/components/post_header.jsx @@ -18,6 +18,7 @@ export default class PostHeader extends React.Component { render() { const post = this.props.post; + const isSystemMessage = PostUtils.isSystemMessage(post); let userProfile = ( {Constants.BOT_NAME}; - } else if (PostUtils.isSystemMessage(post)) { + } else if (isSystemMessage) { userProfile = (