diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-04-01 12:02:19 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-04-01 12:02:19 -0400 |
commit | 763bfc780ae7dbdda78a0e40295d30844536abe3 (patch) | |
tree | 72c5ae513b66db32dfcfa252a8475c77cbb16df5 /webapp/components/post.jsx | |
parent | 3245ed253af8e1750a43a0d526f819ca7aed2864 (diff) | |
parent | 7ecd23bb6cf828f61e65c1211f65c89bcdf5d3e2 (diff) | |
download | chat-763bfc780ae7dbdda78a0e40295d30844536abe3.tar.gz chat-763bfc780ae7dbdda78a0e40295d30844536abe3.tar.bz2 chat-763bfc780ae7dbdda78a0e40295d30844536abe3.zip |
Merge pull request #2616 from mattermost/revert-2608-ui-improvements
Revert "PLT-2027- Improvements to about dialog"
Diffstat (limited to 'webapp/components/post.jsx')
-rw-r--r-- | webapp/components/post.jsx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/webapp/components/post.jsx b/webapp/components/post.jsx index bbf8d9bf6..30c47ee22 100644 --- a/webapp/components/post.jsx +++ b/webapp/components/post.jsx @@ -129,7 +129,6 @@ export default class Post extends React.Component { const post = this.props.post; const parentPost = this.props.parentPost; const posts = this.props.posts; - const mattermostLogo = Constants.MATTERMOST_ICON_SVG; if (!post.props) { post.props = {}; @@ -192,6 +191,8 @@ export default class Post extends React.Component { } else { src = Constants.DEFAULT_WEBHOOK_LOGO; } + } else if (Utils.isSystemMessage(post)) { + src = Constants.SYSTEM_MESSAGE_PROFILE_IMAGE; } profilePic = ( @@ -201,15 +202,6 @@ export default class Post extends React.Component { width='36' /> ); - - if (Utils.isSystemMessage(post)) { - profilePic = ( - <span - className='icon' - dangerouslySetInnerHTML={{__html: mattermostLogo}} - /> - ); - } } return ( |