Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Show join/leave messages since combined systed messages have been tem…
Browse files Browse the repository at this point in the history
…porarily removed
  • Loading branch information
hmhealey committed Feb 14, 2019
1 parent 5dd47d6 commit 2ad0726
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/post_view/post_list.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import React from 'react';
import ReactDOM from 'react-dom';
import {FormattedMessage} from 'react-intl';

import {isUserActivityPost} from 'mattermost-redux/utils/post_utils';

import Constants, {PostTypes} from 'utils/constants.jsx';
import DelayedAction from 'utils/delayed_action.jsx';
import EventTypes from 'utils/event_types.jsx';
Expand Down Expand Up @@ -554,8 +552,7 @@ export default class PostList extends React.PureComponent {

if (
post == null ||
post.type === PostTypes.EPHEMERAL_ADD_TO_CHANNEL ||
isUserActivityPost(post.type)
post.type === PostTypes.EPHEMERAL_ADD_TO_CHANNEL
) {
continue;
}
Expand Down

0 comments on commit 2ad0726

Please sign in to comment.