From 38c42ca53f23898206dce7466a2ec7fba9b61ac1 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Thu, 16 Feb 2017 12:13:22 -0500 Subject: Fix load profile for new DM message (#5441) --- webapp/actions/user_actions.jsx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'webapp') diff --git a/webapp/actions/user_actions.jsx b/webapp/actions/user_actions.jsx index 43881a188..cf5241511 100644 --- a/webapp/actions/user_actions.jsx +++ b/webapp/actions/user_actions.jsx @@ -277,6 +277,10 @@ export function loadProfilesAndTeamMembersForDMSidebar() { name: teammateId, value: 'true' }); + + if (!UserStore.hasProfile(teammateId)) { + profilesToLoad.push(teammateId); + } } } -- cgit v1.2.3-1-g7c22