From 2a621f7470476b0f10d6241a13fdcfd838748edd Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Tue, 28 Feb 2017 20:16:31 -0500 Subject: Don't show new message indicator for ephemeral posts (#5555) --- webapp/components/post_view/components/post_list.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/components/post_view/components/post_list.jsx b/webapp/components/post_view/components/post_list.jsx index 3584e9923..d95d68120 100644 --- a/webapp/components/post_view/components/post_list.jsx +++ b/webapp/components/post_view/components/post_list.jsx @@ -378,6 +378,7 @@ export default class PostList extends React.Component { if ((postUserId !== userId || this.props.ownNewMessage) && this.props.lastViewed !== 0 && post.create_at > this.props.lastViewed && + !Utils.isPostEphemeral(post) && !renderedLastViewed) { renderedLastViewed = true; -- cgit v1.2.3-1-g7c22