summaryrefslogtreecommitdiffstats
path: root/webapp/components/channel_invite_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_invite_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_invite_modal.jsx')
-rw-r--r--webapp/components/channel_invite_modal.jsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/webapp/components/channel_invite_modal.jsx b/webapp/components/channel_invite_modal.jsx
index 99a4b9313..14e02e04b 100644
--- a/webapp/components/channel_invite_modal.jsx
+++ b/webapp/components/channel_invite_modal.jsx
@@ -46,7 +46,6 @@ export default class ChannelInviteModal extends React.Component {
TeamStore.addStatsChangeListener(this.onChange);
ChannelStore.addStatsChangeListener(this.onChange);
UserStore.addNotInChannelChangeListener(this.onChange);
- UserStore.addStatusesChangeListener(this.onChange);
this.onChange();
AsyncClient.getProfilesNotInChannel(this.props.channel.id, 0);
@@ -55,7 +54,6 @@ export default class ChannelInviteModal extends React.Component {
TeamStore.removeStatsChangeListener(this.onChange);
ChannelStore.removeStatsChangeListener(this.onChange);
UserStore.removeNotInChannelChangeListener(this.onChange);
- UserStore.removeStatusesChangeListener(this.onChange);
}
}