* Added selectChannel action * Fixed selected team not being cleared on logout * Fixed posts and postsByChannel not being initialized correctly * Added basic post rendering * Renamed selectors files to be plural * Removed empty file * Fixed unit tests after merge * Removing unnecessary code
8 lines
272 B
JavaScript
8 lines
272 B
JavaScript
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
import {Constants} from 'service/constants';
|
|
|
|
export function isSystemMessage(post) {
|
|
return post.type && post.type.startsWith(Constants.SYSTEM_MESSAGE_PREFIX);
|
|
}
|