Don't show new message indicator for ephemeral posts (#5555)
Этот коммит содержится в:
коммит произвёл
enahum
родитель
f7682ad11a
Коммит
2a621f7470
@@ -378,6 +378,7 @@ export default class PostList extends React.Component {
|
|||||||
if ((postUserId !== userId || this.props.ownNewMessage) &&
|
if ((postUserId !== userId || this.props.ownNewMessage) &&
|
||||||
this.props.lastViewed !== 0 &&
|
this.props.lastViewed !== 0 &&
|
||||||
post.create_at > this.props.lastViewed &&
|
post.create_at > this.props.lastViewed &&
|
||||||
|
!Utils.isPostEphemeral(post) &&
|
||||||
!renderedLastViewed) {
|
!renderedLastViewed) {
|
||||||
renderedLastViewed = true;
|
renderedLastViewed = true;
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user