mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
remove comment
This commit is contained in:
@@ -612,7 +612,6 @@ function membersInChannel(state: RelationOneToOne<Channel, Record<string, Channe
|
||||
}
|
||||
}
|
||||
|
||||
// todo sinan do similar stuff for RECEIVED_CHANNELS_MEMBER_COUNT
|
||||
function stats(state: RelationOneToOne<Channel, ChannelStats> = {}, action: GenericAction) {
|
||||
switch (action.type) {
|
||||
case ChannelTypes.RECEIVED_CHANNEL_STATS: {
|
||||
|
||||
@@ -1755,7 +1755,6 @@ export default class Client4 {
|
||||
);
|
||||
};
|
||||
|
||||
// todo sinan create a selector
|
||||
getChannelsMemberCount = (channelIds: string[]) => {
|
||||
return this.doFetch<Record<string, number>>(
|
||||
`${this.getChannelsRoute()}/stats/member_count`,
|
||||
|
||||
Reference in New Issue
Block a user