summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-08-01 13:34:30 -0400
committerGitHub <noreply@github.com>2017-08-01 13:34:30 -0400
commitc6bf235ec2a8613d8ef35607e2aeb8c0cb629f45 (patch)
treeb003f2ed2c420d299b4bc6fc3e25e6e4c7ca427c /webapp
parentd79e538d278a15fa795f913b4e8025d3f39351f6 (diff)
downloadchat-c6bf235ec2a8613d8ef35607e2aeb8c0cb629f45.tar.gz
chat-c6bf235ec2a8613d8ef35607e2aeb8c0cb629f45.tar.bz2
chat-c6bf235ec2a8613d8ef35607e2aeb8c0cb629f45.zip
Do not show commented on header for ephemeral posts (#7069)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/post_view/post_body/post_body.jsx2
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 = '';