This commit is contained in:
Ali
2023-07-11 01:50:10 +04:00
parent fbea3fccc0
commit 9672c77070
10 changed files with 159 additions and 13 deletions

View File

@@ -434,7 +434,11 @@ private final class ChatListContainerItemNode: ASDisplayNode {
if case .forum = location {
subject = .forum(hasGeneral: hasOnlyGeneralThread)
} else {
subject = .chats(hasArchive: hasOnlyArchive)
if case .chatList(groupId: .archive) = location {
subject = .archive
} else {
subject = .chats(hasArchive: hasOnlyArchive)
}
}
}