Fetch archived channels (#3964)

This commit is contained in:
Elias Nahum 2020-02-27 10:12:20 -03:00 committed by GitHub
parent 7952b5aeb7
commit f3a94bfbc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -646,7 +646,7 @@ export function loadChannelsForTeam(teamId) {
try {
console.log('Fetching channels attempt', (i + 1)); //eslint-disable-line no-console
const [channels, channelMembers] = await Promise.all([ //eslint-disable-line no-await-in-loop
Client4.getMyChannels(teamId),
Client4.getMyChannels(teamId, true),
Client4.getMyChannelMembers(teamId),
]);