From 2ca87f7ac410f472ae1e6578291040f715c1b93c 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 62d22b763..35cab34ef 100644 --- a/app/components/post_body/post_body.js +++ b/app/components/post_body/post_body.js @@ -252,6 +252,7 @@ export default class PostBody extends PureComponent { renderPostAdditionalContent = (blockStyles, messageStyle, textStyles) => { const { + isPostEphemeral, isReplyPost, isSystemMessage, message, @@ -263,7 +264,7 @@ export default class PostBody extends PureComponent { postProps, } = this.props; - if (isSystemMessage) { + if (isSystemMessage && !isPostEphemeral) { return null; }