From 1f241af48a9554b6865d1ac79b4261341ab9b3f3 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Tue, 15 Nov 2016 10:39:45 -0500 Subject: Don't show current user in direct message modal (#4548) --- webapp/components/more_direct_channels.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/components/more_direct_channels.jsx b/webapp/components/more_direct_channels.jsx index 50ab5224a..f8cf64867 100644 --- a/webapp/components/more_direct_channels.jsx +++ b/webapp/components/more_direct_channels.jsx @@ -105,7 +105,7 @@ export default class MoreDirectChannels extends React.Component { let users; if (this.state.listType === 'any') { - users = UserStore.getProfileList(); + users = UserStore.getProfileList(true); } else { users = UserStore.getProfileListInTeam(TeamStore.getCurrentId(), true, true); } @@ -119,7 +119,7 @@ export default class MoreDirectChannels extends React.Component { const listType = e.target.value; let users; if (listType === 'any') { - users = UserStore.getProfileList(); + users = UserStore.getProfileList(true); } else { users = UserStore.getProfileListInTeam(TeamStore.getCurrentId(), true, true); } -- cgit v1.2.3-1-g7c22