PLT-1380: Post system message when user updates channel header

Этот коммит содержится в:
Florian Orben
2015-12-04 03:39:37 +01:00
родитель 14d1ec5191
Коммит 18d29a19e5
3 изменённых файлов: 36 добавлений и 3 удалений

Просмотреть файл

@@ -152,7 +152,7 @@ export default class Post extends React.Component {
}
let currentUserCss = '';
if (UserStore.getCurrentId() === post.user_id && !post.props.from_webhook) {
if (UserStore.getCurrentId() === post.user_id && !post.props.from_webhook && !utils.isSystemMessage(post)) {
currentUserCss = 'current--user';
}