From 446e5a5a8611bf86314c02ceda089e4c6bc9e236 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Sun, 7 Jun 2020 18:13:32 +0400 Subject: [PATCH 1/2] Fix legacy group type selection control --- .../PeerInfoUI/Sources/ChannelVisibilityController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/PeerInfoUI/Sources/ChannelVisibilityController.swift b/submodules/PeerInfoUI/Sources/ChannelVisibilityController.swift index c18bf1bccd..1d2d08580a 100644 --- a/submodules/PeerInfoUI/Sources/ChannelVisibilityController.swift +++ b/submodules/PeerInfoUI/Sources/ChannelVisibilityController.swift @@ -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 From 1e777ef1db714aac50286ca8d65b1f07aba291c2 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Sun, 7 Jun 2020 18:18:15 +0400 Subject: [PATCH 2/2] Update submodule url --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 3ea55256ad..965d7fd310 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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