Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios

This commit is contained in:
Ilya Laktyushin 2020-06-08 13:30:27 +03:00
commit 5adc1118aa
2 changed files with 3 additions and 3 deletions

2
.gitmodules vendored
View File

@ -22,4 +22,4 @@ url=https://github.com/bazelbuild/rules_apple.git
url = https://chromium.googlesource.com/chromium/tools/depot_tools.git
[submodule "third-party/webrtc/webrtc-ios"]
path = third-party/webrtc/webrtc-ios
url=../webrtc-ios.git
url=https://github.com/ali-fareed/webrtc-ios.git

View File

@ -615,7 +615,7 @@ private func channelVisibilityControllerEntries(presentationData: PresentationDa
}
} else if let _ = view.peers[view.peerId] as? TelegramGroup {
switch mode {
case .privateLink, .generic:
case .privateLink:
let link = (view.cachedData as? CachedGroupData)?.exportedInvitation?.link
let text: String
if let link = link {
@ -640,7 +640,7 @@ private func channelVisibilityControllerEntries(presentationData: PresentationDa
if let current = state.selectedType {
selectedType = current
} else {
selectedType = .publicChannel
selectedType = .privateChannel
}
let currentAddressName: String