From c6bf235ec2a8613d8ef35607e2aeb8c0cb629f45 Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Tue, 1 Aug 2017 13:34:30 -0400
Subject: Do not show commented on header for ephemeral posts (#7069)

---
 webapp/components/post_view/post_body/post_body.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'webapp/components/post_view/post_body/post_body.jsx')

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 = '';
-- 
cgit v1.2.3-1-g7c22

