summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-11-15 10:39:45 -0500
committerenahum <nahumhbl@gmail.com>2016-11-15 12:39:45 -0300
commit1f241af48a9554b6865d1ac79b4261341ab9b3f3 (patch)
treeda481c4180e82cb7398172fdba5a6c3452a815ce /webapp
parentc77d3ae614ad5148f1b4c94b2d87a265890d3699 (diff)
downloadchat-1f241af48a9554b6865d1ac79b4261341ab9b3f3.tar.gz
chat-1f241af48a9554b6865d1ac79b4261341ab9b3f3.tar.bz2
chat-1f241af48a9554b6865d1ac79b4261341ab9b3f3.zip
Don't show current user in direct message modal (#4548)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/more_direct_channels.jsx4
1 files 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);
}