summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-12-07 08:48:37 -0500
committerChristopher Speller <crspeller@gmail.com>2015-12-07 08:48:37 -0500
commit2a1788650fdda22afb491f834600a4b9ed7c4714 (patch)
treeb0b3cb6504935e1a9a439e9d45e063d9c5ad2c51 /web/react/components
parentdbb42939aa596de5b549e8436fe059b14242303a (diff)
parent18d29a19e5ec7e4b52a79ec77bff6cc9a63cd5e9 (diff)
downloadchat-2a1788650fdda22afb491f834600a4b9ed7c4714.tar.gz
chat-2a1788650fdda22afb491f834600a4b9ed7c4714.tar.bz2
chat-2a1788650fdda22afb491f834600a4b9ed7c4714.zip
Merge pull request #1616 from florianorben/PLT-1380
PLT-1380: Post system message when user updates channel header
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/post.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/post.jsx b/web/react/components/post.jsx
index 786a4a325..695d7daef 100644
--- a/web/react/components/post.jsx
+++ b/web/react/components/post.jsx
@@ -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';
}