diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-12-10 08:40:21 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-12-10 08:40:21 -0500 |
commit | 415276fa6a1af933a8b9b8f71afa81e36d9e0b13 (patch) | |
tree | 83df33bc7275b36df837be0c9f48914c281e9778 /web/react/components | |
parent | 47c3ff91a3987d476ca058c063115bc95345f924 (diff) | |
parent | e80129a0e97af82a196bc47509c3a38296e8a4a2 (diff) | |
download | chat-415276fa6a1af933a8b9b8f71afa81e36d9e0b13.tar.gz chat-415276fa6a1af933a8b9b8f71afa81e36d9e0b13.tar.bz2 chat-415276fa6a1af933a8b9b8f71afa81e36d9e0b13.zip |
Merge pull request #1694 from mattermost/revert-1625-ephemeral_messages
Revert "add helper method to add ephemeral messages; also switch 'delete mess…"
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 b7711ca29..695d7daef 100644 --- a/web/react/components/post.jsx +++ b/web/react/components/post.jsx @@ -179,7 +179,7 @@ export default class Post extends React.Component { } let profilePic = null; - if (!this.props.hideProfilePic && post.user_id !== '0') { + if (!this.props.hideProfilePic) { let src = '/api/v1/users/' + post.user_id + '/image?time=' + timestamp + '&' + utils.getSessionIndex(); if (post.props && post.props.from_webhook && global.window.mm_config.EnablePostIconOverride === 'true') { if (post.props.override_icon_url) { |