mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Don't show new message indicator for ephemeral posts (#5555)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user