summaryrefslogtreecommitdiffstats
path: root/webapp/stores
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/stores')
-rw-r--r--webapp/stores/user_store.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/stores/user_store.jsx b/webapp/stores/user_store.jsx
index b6e867443..79052d77e 100644
--- a/webapp/stores/user_store.jsx
+++ b/webapp/stores/user_store.jsx
@@ -390,10 +390,10 @@ class UserStoreClass extends EventEmitter {
});
}
- getProfileListInChannel(channelId = ChannelStore.getCurrentId(), skipCurrent = false) {
+ getProfileListInChannel(channelId = ChannelStore.getCurrentId(), skipCurrent = false, skipInactive = false) {
const userIds = Array.from(Selectors.getUserIdsInChannels(store.getState())[channelId] || []);
- return this.getProfileListForIds(userIds, skipCurrent, false);
+ return this.getProfileListForIds(userIds, skipCurrent, skipInactive);
}
saveProfileNotInChannel(channelId = ChannelStore.getCurrentId(), profile) {