Hide archive channels in channel list (#6214)

This commit is contained in:
Elias Nahum 2022-05-03 17:26:35 -04:00 committed by GitHub
parent 43c43e50d4
commit bd50422167
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -175,7 +175,7 @@ const ChannelListItem = ({
],
[height, isActive, isInfo, styles]);
if (!myChannel || !isVisible) {
if ((!isInfo && (channel.deleteAt > 0 && !isActive)) || !myChannel || !isVisible) {
return null;
}