From 980419b37cb1a329cc694213b2648b5919e4902c Mon Sep 17 00:00:00 2001
From: JoramWilander <jwawilander@gmail.com>
Date: Thu, 31 Mar 2016 09:54:46 -0400
Subject: Update webhook posts to never show in collapsed view

---
 webapp/components/rhs_root_post.jsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'webapp/components/rhs_root_post.jsx')

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;
-- 
cgit v1.2.3-1-g7c22

