diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-08-01 13:34:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-01 13:34:30 -0400 |
commit | c6bf235ec2a8613d8ef35607e2aeb8c0cb629f45 (patch) | |
tree | b003f2ed2c420d299b4bc6fc3e25e6e4c7ca427c /webapp/components/post_view/post_body | |
parent | d79e538d278a15fa795f913b4e8025d3f39351f6 (diff) | |
download | chat-c6bf235ec2a8613d8ef35607e2aeb8c0cb629f45.tar.gz chat-c6bf235ec2a8613d8ef35607e2aeb8c0cb629f45.tar.bz2 chat-c6bf235ec2a8613d8ef35607e2aeb8c0cb629f45.zip |
Do not show commented on header for ephemeral posts (#7069)
Diffstat (limited to 'webapp/components/post_view/post_body')
-rw-r--r-- | webapp/components/post_view/post_body/post_body.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/post_view/post_body/post_body.jsx b/webapp/components/post_view/post_body/post_body.jsx index d21192330..1eab74cf2 100644 --- a/webapp/components/post_view/post_body/post_body.jsx +++ b/webapp/components/post_view/post_body/post_body.jsx @@ -70,7 +70,7 @@ export default class PostBody extends React.PureComponent { let comment = ''; let postClass = ''; - if (parentPost) { + if (parentPost && !Utils.isPostEphemeral(post)) { const profile = this.props.parentPostUser; let apostrophe = ''; |