diff options
author | JoramWilander <jwawilander@gmail.com> | 2016-03-31 09:54:46 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2016-03-31 09:54:46 -0400 |
commit | 980419b37cb1a329cc694213b2648b5919e4902c (patch) | |
tree | db8883ed76dbb0069134538fb6ed8c9a6996ecbc /webapp/components/rhs_root_post.jsx | |
parent | 43aa7e4c792b5ee2cbda4c853eeed4fadb8a93b3 (diff) | |
download | chat-980419b37cb1a329cc694213b2648b5919e4902c.tar.gz chat-980419b37cb1a329cc694213b2648b5919e4902c.tar.bz2 chat-980419b37cb1a329cc694213b2648b5919e4902c.zip |
Update webhook posts to never show in collapsed view
Diffstat (limited to 'webapp/components/rhs_root_post.jsx')
-rw-r--r-- | webapp/components/rhs_root_post.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/components/rhs_root_post.jsx b/webapp/components/rhs_root_post.jsx index 26b392aa1..7a7c5f692 100644 --- a/webapp/components/rhs_root_post.jsx +++ b/webapp/components/rhs_root_post.jsx @@ -217,6 +217,8 @@ export default class RhsRootPost extends React.Component { if (post.props && post.props.from_webhook && global.window.mm_config.EnablePostIconOverride === 'true') { if (post.props.override_icon_url) { src = post.props.override_icon_url; + } else { + src = Constants.DEFAULT_WEBHOOK_LOGO; } } else if (Utils.isSystemMessage(post)) { src = Constants.SYSTEM_MESSAGE_PROFILE_IMAGE; |