mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Don't default to public link setup for already existing groups and channels
This commit is contained in:
parent
3fc1a4fb04
commit
2acf826a5f
@ -465,8 +465,10 @@ private func channelVisibilityControllerEntries(presentationData: PresentationDa
|
||||
selectedType = .publicChannel
|
||||
} else if let cachedChannelData = view.cachedData as? CachedChannelData, cachedChannelData.peerGeoLocation != nil {
|
||||
selectedType = .publicChannel
|
||||
} else {
|
||||
} else if case .initialSetup = mode {
|
||||
selectedType = .publicChannel
|
||||
} else {
|
||||
selectedType = .privateChannel
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user