Various fixes

This commit is contained in:
Ilya Laktyushin
2022-04-17 14:14:12 +04:00
parent 2c4dd3d411
commit 69fda4b94e
4 changed files with 4 additions and 4 deletions

View File

@@ -818,7 +818,7 @@ private func channelVisibilityControllerEntries(presentationData: PresentationDa
}
}
if isGroup {
if isGroup && selectedType == .publicChannel {
var isDiscussion = false
if let cachedData = view.cachedData as? CachedChannelData, case .known = cachedData.linkedDiscussionPeerId {
isDiscussion = true