mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-03 21:16:35 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
5adc1118aa
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user