diff options
author | Florian Orben <florian.orben@gmail.com> | 2015-12-04 03:39:37 +0100 |
---|---|---|
committer | Florian Orben <florian.orben@gmail.com> | 2015-12-04 03:39:37 +0100 |
commit | 18d29a19e5ec7e4b52a79ec77bff6cc9a63cd5e9 (patch) | |
tree | 6426d835326b033ecb66b5827988b28ae75dd5cd /web/react/components | |
parent | 14d1ec5191867174837e15f616ad3fc1dc8e0dae (diff) | |
download | chat-18d29a19e5ec7e4b52a79ec77bff6cc9a63cd5e9.tar.gz chat-18d29a19e5ec7e4b52a79ec77bff6cc9a63cd5e9.tar.bz2 chat-18d29a19e5ec7e4b52a79ec77bff6cc9a63cd5e9.zip |
PLT-1380: Post system message when user updates channel header
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/post.jsx | 2 |
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'; } |