From 5d887f067d1aa71b8383455d74e3532af88f3c32 Mon Sep 17 00:00:00 2001 From: Chris Duarte Date: Mon, 22 Apr 2019 18:56:26 -0700 Subject: [PATCH] Reminder message (`/remind`) do not show message text on mobile. (#2710) --- app/components/post_body/post_body.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/post_body/post_body.js b/app/components/post_body/post_body.js index a9756cf4c..1c0a3927d 100644 --- a/app/components/post_body/post_body.js +++ b/app/components/post_body/post_body.js @@ -241,6 +241,7 @@ export default class PostBody extends PureComponent { renderPostAdditionalContent = (blockStyles, messageStyle, textStyles) => { const { + isPostEphemeral, isReplyPost, isSystemMessage, message, @@ -252,7 +253,7 @@ export default class PostBody extends PureComponent { postProps, } = this.props; - if (isSystemMessage) { + if (isSystemMessage && !isPostEphemeral) { return null; }