diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-02-16 12:13:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-16 12:13:22 -0500 |
commit | 38c42ca53f23898206dce7466a2ec7fba9b61ac1 (patch) | |
tree | e5de633a89a655648846280346fb5a03f9b312b1 /webapp | |
parent | c6ffb73999ff4374503ea57d1b1e6485a5bee472 (diff) | |
download | chat-38c42ca53f23898206dce7466a2ec7fba9b61ac1.tar.gz chat-38c42ca53f23898206dce7466a2ec7fba9b61ac1.tar.bz2 chat-38c42ca53f23898206dce7466a2ec7fba9b61ac1.zip |
Fix load profile for new DM message (#5441)
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/actions/user_actions.jsx | 4 |
1 files changed, 4 insertions, 0 deletions
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); + } } } |