From 4dc03613b41b1e8a3cad77582fd4d80c6bf401f4 Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Fri, 24 Mar 2017 16:46:39 -0400
Subject: Check if LHS DM list needs updating on channel switch and channel
 members fetch (#5861)

---
 webapp/actions/global_actions.jsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'webapp/actions/global_actions.jsx')

diff --git a/webapp/actions/global_actions.jsx b/webapp/actions/global_actions.jsx
index c81478069..1f22cd773 100644
--- a/webapp/actions/global_actions.jsx
+++ b/webapp/actions/global_actions.jsx
@@ -65,6 +65,8 @@ export function emitChannelClickEvent(channel) {
 
         BrowserStore.setGlobalItem(chan.team_id, chan.id);
 
+        loadProfilesForSidebar();
+
         AppDispatcher.handleViewAction({
             type: ActionTypes.CLICK_CHANNEL,
             name: chan.name,
-- 
cgit v1.2.3-1-g7c22

