summaryrefslogtreecommitdiffstats
path: root/webapp/components/channel_members_modal.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-10-24 12:00:42 -0400
committerCorey Hulen <corey@hulen.com>2016-10-24 09:00:42 -0700
commit4834b68ad107c29ada482f6f79c806366574ad40 (patch)
treee6c94b1af115ba6721ace0bddb84da8b6531fc58 /webapp/components/channel_members_modal.jsx
parent64f81762cb934b7f3b2cd9e7f7593e2dc78ad9ca (diff)
downloadchat-4834b68ad107c29ada482f6f79c806366574ad40.tar.gz
chat-4834b68ad107c29ada482f6f79c806366574ad40.tar.bz2
chat-4834b68ad107c29ada482f6f79c806366574ad40.zip
Filter out non-team members from invite to channel modal (#4312)
Diffstat (limited to 'webapp/components/channel_members_modal.jsx')
-rw-r--r--webapp/components/channel_members_modal.jsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/webapp/components/channel_members_modal.jsx b/webapp/components/channel_members_modal.jsx
index 511209b42..561ae595f 100644
--- a/webapp/components/channel_members_modal.jsx
+++ b/webapp/components/channel_members_modal.jsx
@@ -47,14 +47,12 @@ export default class ChannelMembersModal extends React.Component {
if (!this.props.show && nextProps.show) {
ChannelStore.addStatsChangeListener(this.onChange);
UserStore.addInChannelChangeListener(this.onChange);
- UserStore.addStatusesChangeListener(this.onChange);
this.onChange();
AsyncClient.getProfilesInChannel(this.props.channel.id, 0);
} else if (this.props.show && !nextProps.show) {
ChannelStore.removeStatsChangeListener(this.onChange);
UserStore.removeInChannelChangeListener(this.onChange);
- UserStore.removeStatusesChangeListener(this.onChange);
}
}