From 07dac1322d3263017f9994635c6defc58e3bf37b Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Wed, 6 Mar 2019 00:28:48 +0300 Subject: [PATCH 01/40] Update submodules --- submodules/Display | 2 +- submodules/TelegramCore | 2 +- submodules/TelegramUI | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/submodules/Display b/submodules/Display index 7077ff31dc..c278cf193b 160000 --- a/submodules/Display +++ b/submodules/Display @@ -1 +1 @@ -Subproject commit 7077ff31dc8786d143ba09b5874f0c014126e6c3 +Subproject commit c278cf193b21fc73af56b3db8ac225d741e803c1 diff --git a/submodules/TelegramCore b/submodules/TelegramCore index ea2dfc192c..f24d58d7de 160000 --- a/submodules/TelegramCore +++ b/submodules/TelegramCore @@ -1 +1 @@ -Subproject commit ea2dfc192c292ac8f17b47ed2f98125ab06d72c3 +Subproject commit f24d58d7de36e4db5f37ac0b3d110cf14726e0fc diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 839d9a02c3..f80abacc46 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 839d9a02c3a324bb4a7f36f41d076cd92e816cec +Subproject commit f80abacc46b844433cf8f0f3a8c11b6cba60aae8 From 06bfd145611e9c5f93e30f20973858394276614f Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Wed, 6 Mar 2019 00:44:21 +0300 Subject: [PATCH 02/40] Update submodules --- submodules/TelegramUI | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI b/submodules/TelegramUI index f80abacc46..a95da7736f 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit f80abacc46b844433cf8f0f3a8c11b6cba60aae8 +Subproject commit a95da7736f4e5e55beb0ed0fd4a0a214fef54c6a From 34d9e98fadee15953e2bdcd8f4171c3a6176aa61 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Sat, 9 Mar 2019 18:53:32 +0300 Subject: [PATCH 03/40] Update submodules --- Telegram-iOS/en.lproj/Localizable.strings | 3 +++ submodules/Display | 2 +- submodules/TelegramUI | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Telegram-iOS/en.lproj/Localizable.strings b/Telegram-iOS/en.lproj/Localizable.strings index 7e4ebc38b9..002bbede84 100644 --- a/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram-iOS/en.lproj/Localizable.strings @@ -4056,3 +4056,6 @@ Unused sets are archived when you add more."; "NotificationSettings.ShowNotificationsAllAccounts" = "All Accounts"; "NotificationSettings.ShowNotificationsAllAccountsInfoOn" = "Turn this off if you want to receive notifications only from your active account."; "NotificationSettings.ShowNotificationsAllAccountsInfoOff" = "Turn this on if you want to receive notifications from all your accounts."; + +"Gif.Search" = "Search GIFs"; +"Gif.NoGifsFound" = "No GIFs Found"; diff --git a/submodules/Display b/submodules/Display index c278cf193b..ca80cc40dc 160000 --- a/submodules/Display +++ b/submodules/Display @@ -1 +1 @@ -Subproject commit c278cf193b21fc73af56b3db8ac225d741e803c1 +Subproject commit ca80cc40dce4ae5a3b6839c42cd6731097ba47ff diff --git a/submodules/TelegramUI b/submodules/TelegramUI index a95da7736f..4bc196d6db 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit a95da7736f4e5e55beb0ed0fd4a0a214fef54c6a +Subproject commit 4bc196d6db1a4599615ae21c9820a931ebd89a2f From 6c7da272602a0b328b0a4eaf922072656aa3376a Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Sat, 9 Mar 2019 20:36:51 +0300 Subject: [PATCH 04/40] Update submodules --- submodules/TelegramUI | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 4bc196d6db..6765932eef 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 4bc196d6db1a4599615ae21c9820a931ebd89a2f +Subproject commit 6765932eef59cbdb0b1b9ae640283274af202a27 From 131ab1fce93fa0df4e20e8585e9e8890c8b6c1ec Mon Sep 17 00:00:00 2001 From: Grishka Date: Mon, 11 Mar 2019 01:35:34 +0300 Subject: [PATCH 05/40] Update libtgvoip --- submodules/libtgvoip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/libtgvoip b/submodules/libtgvoip index 46cd772b3f..40c8685e77 160000 --- a/submodules/libtgvoip +++ b/submodules/libtgvoip @@ -1 +1 @@ -Subproject commit 46cd772b3fe0e0048d1ad1721fdc35554ba3f031 +Subproject commit 40c8685e77745abf4658e9127ba282fa8a518d89 From 4b9a9116af4f528394577d1e183ee70246edc335 Mon Sep 17 00:00:00 2001 From: Grishka Date: Mon, 11 Mar 2019 14:34:15 +0300 Subject: [PATCH 06/40] Calls compatibility fix --- submodules/libtgvoip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/libtgvoip b/submodules/libtgvoip index 40c8685e77..b6cfcba80f 160000 --- a/submodules/libtgvoip +++ b/submodules/libtgvoip @@ -1 +1 @@ -Subproject commit 40c8685e77745abf4658e9127ba282fa8a518d89 +Subproject commit b6cfcba80f6446a251fbbabbfda2c16a37de9c3c From 7c955fad641230e63eac7bc524f426c3e36dc385 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Wed, 13 Mar 2019 02:52:21 +0300 Subject: [PATCH 07/40] Update submodules --- NotificationService/Serialization.swift | 2 +- Telegram-iOS/en.lproj/Localizable.strings | 15 +++++++++++++++ submodules/TelegramCore | 2 +- submodules/TelegramUI | 2 +- submodules/libtgvoip | 2 +- 5 files changed, 19 insertions(+), 4 deletions(-) diff --git a/NotificationService/Serialization.swift b/NotificationService/Serialization.swift index ed53fae6e1..29ce311a43 100644 --- a/NotificationService/Serialization.swift +++ b/NotificationService/Serialization.swift @@ -10,7 +10,7 @@ public class BoxedMessage: NSObject { public class Serialization: NSObject, MTSerialization { public func currentLayer() -> UInt { - return 96 + return 97 } public func parseMessage(_ data: Data!) -> Any! { diff --git a/Telegram-iOS/en.lproj/Localizable.strings b/Telegram-iOS/en.lproj/Localizable.strings index 002bbede84..bb14367f24 100644 --- a/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram-iOS/en.lproj/Localizable.strings @@ -4059,3 +4059,18 @@ Unused sets are archived when you add more."; "Gif.Search" = "Search GIFs"; "Gif.NoGifsFound" = "No GIFs Found"; + +"SettingsSearch.FAQ" = "FAQ"; + +"Privacy.ProfilePhoto" = "Profile Photo"; +"Privacy.Forwards" = "Forwards"; + +"Privacy.ProfilePhoto.WhoCanSeeMyPhoto" = "WHO CAN SEE MY PROFILE PHOTO"; +"Privacy.ProfilePhoto.CustomHelp" = "You can restrict who can see your profile photo with granular precision."; +"Privacy.ProfilePhoto.AlwaysShareWith.Title" = "Always Share With"; +"Privacy.ProfilePhoto.NeverShareWith.Title" = "Never Share With"; + +"Privacy.Forwards.WhoCanForward" = "WHO CAN FORWARD MY MESSAGES"; +"Privacy.Forwards.CustomHelp" = "You can restrict who can forward your messages with granular precision."; +"Privacy.Forwards.AlwaysAllow.Title" = "Always Allow"; +"Privacy.Forwards.NeverAllow.Title" = "Never Allow"; diff --git a/submodules/TelegramCore b/submodules/TelegramCore index f24d58d7de..d554ad5a85 160000 --- a/submodules/TelegramCore +++ b/submodules/TelegramCore @@ -1 +1 @@ -Subproject commit f24d58d7de36e4db5f37ac0b3d110cf14726e0fc +Subproject commit d554ad5a855819a91622a8a1cbcb568363de22d9 diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 6765932eef..22b0bd93b8 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 6765932eef59cbdb0b1b9ae640283274af202a27 +Subproject commit 22b0bd93b89c31084d16510cbb1cbbcb7a656cdf diff --git a/submodules/libtgvoip b/submodules/libtgvoip index b6cfcba80f..b6ac291101 160000 --- a/submodules/libtgvoip +++ b/submodules/libtgvoip @@ -1 +1 @@ -Subproject commit b6cfcba80f6446a251fbbabbfda2c16a37de9c3c +Subproject commit b6ac2911016313826bdb8cca65669fda545ef041 From e2e0c30f8950e4a051cf0c6688248b860ae3bed6 Mon Sep 17 00:00:00 2001 From: Peter <> Date: Thu, 14 Mar 2019 16:09:03 +0400 Subject: [PATCH 08/40] Update submodules --- Telegram-iOS/Config-AppStore.xcconfig | 2 +- Telegram-iOS/Config-AppStoreLLC.xcconfig | 2 +- Telegram-iOS/Config-Hockeyapp Internal.xcconfig | 2 +- Telegram-iOS/Config-Hockeyapp.xcconfig | 2 +- Telegram-iOS/WatchBridge.swift | 2 +- submodules/Postbox | 2 +- submodules/TelegramCore | 2 +- submodules/TelegramUI | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Telegram-iOS/Config-AppStore.xcconfig b/Telegram-iOS/Config-AppStore.xcconfig index 53d62913df..d714178e63 100644 --- a/Telegram-iOS/Config-AppStore.xcconfig +++ b/Telegram-iOS/Config-AppStore.xcconfig @@ -1 +1 @@ -#include "../../Telegram-iOS-Shared/Config-AppStore.xcconfig" \ No newline at end of file +#include "../../Telegram-iOS-Shared/Config/AppStore/Config.xcconfig" diff --git a/Telegram-iOS/Config-AppStoreLLC.xcconfig b/Telegram-iOS/Config-AppStoreLLC.xcconfig index ddba9e8ff5..02bd936396 100644 --- a/Telegram-iOS/Config-AppStoreLLC.xcconfig +++ b/Telegram-iOS/Config-AppStoreLLC.xcconfig @@ -1 +1 @@ -#include "../../Telegram-iOS-Shared/Config-AppStoreLLC.xcconfig" \ No newline at end of file +#include "../../Telegram-iOS-Shared/Config/AppStoreLLC/Config.xcconfig" diff --git a/Telegram-iOS/Config-Hockeyapp Internal.xcconfig b/Telegram-iOS/Config-Hockeyapp Internal.xcconfig index 3f8c245107..9fafdabd29 100644 --- a/Telegram-iOS/Config-Hockeyapp Internal.xcconfig +++ b/Telegram-iOS/Config-Hockeyapp Internal.xcconfig @@ -1 +1 @@ -#include "../../Telegram-iOS-Shared/Config-Hockeyapp Internal.xcconfig" \ No newline at end of file +#include "../../Telegram-iOS-Shared/Config/Hockeyapp-Internal/Config.xcconfig" diff --git a/Telegram-iOS/Config-Hockeyapp.xcconfig b/Telegram-iOS/Config-Hockeyapp.xcconfig index 7d6755f1f2..6b2db78c95 100644 --- a/Telegram-iOS/Config-Hockeyapp.xcconfig +++ b/Telegram-iOS/Config-Hockeyapp.xcconfig @@ -1 +1 @@ -#include "../../Telegram-iOS-Shared/Config-Hockeyapp.xcconfig" \ No newline at end of file +#include "../../Telegram-iOS-Shared/Config/Hockeyapp/Config.xcconfig" diff --git a/Telegram-iOS/WatchBridge.swift b/Telegram-iOS/WatchBridge.swift index 5c45de3ffa..83d8543934 100644 --- a/Telegram-iOS/WatchBridge.swift +++ b/Telegram-iOS/WatchBridge.swift @@ -86,7 +86,7 @@ func makeBridgeMedia(message: Message, strings: PresentationStrings, chatPeer: P if let forward = message.forwardInfo { let bridgeForward = TGBridgeForwardedMessageMediaAttachment() - bridgeForward.peerId = makeBridgeIdentifier(forward.author.id) + bridgeForward.peerId = forward.author.flatMap({ makeBridgeIdentifier($0.id) }) ?? 0 if let sourceMessageId = forward.sourceMessageId { bridgeForward.mid = sourceMessageId.id } diff --git a/submodules/Postbox b/submodules/Postbox index bad5edd2a2..1bb15e2ac5 160000 --- a/submodules/Postbox +++ b/submodules/Postbox @@ -1 +1 @@ -Subproject commit bad5edd2a24028bed987120c2bef522fcfb508b2 +Subproject commit 1bb15e2ac53cfd742fd38ebd88ff16af462cc5f3 diff --git a/submodules/TelegramCore b/submodules/TelegramCore index d554ad5a85..197afe5a73 160000 --- a/submodules/TelegramCore +++ b/submodules/TelegramCore @@ -1 +1 @@ -Subproject commit d554ad5a855819a91622a8a1cbcb568363de22d9 +Subproject commit 197afe5a7359aa38694d62128efe77ea6c3c06a2 diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 22b0bd93b8..cba9789cb5 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 22b0bd93b89c31084d16510cbb1cbbcb7a656cdf +Subproject commit cba9789cb5c7128d13ea2df29261a7b1546b0aee From f5880c1a3c63a77179f1c4790716da0bc7e3a6c0 Mon Sep 17 00:00:00 2001 From: Peter <> Date: Thu, 14 Mar 2019 21:15:15 +0400 Subject: [PATCH 09/40] Update submodules --- .gitlab-ci.yml | 14 - Telegram-iOS.xcodeproj/project.pbxproj | 670 ++---------------- .../xcschemes/Telegram-iOS-Hockeyapp.xcscheme | 145 ---- Telegram-iOS/AppDelegate.swift | 4 +- Telegram-iOS/BuildConfig.h | 2 +- Telegram-iOS/BuildConfig.m | 80 ++- ...fig => Config-Hockeyapp-Internal.xcconfig} | 0 Telegram-iOS/Config-Hockeyapp.xcconfig | 1 - fastlane/Fastfile | 62 ++ submodules/TelegramUI | 2 +- 10 files changed, 207 insertions(+), 773 deletions(-) delete mode 100644 Telegram-iOS.xcworkspace/xcshareddata/xcschemes/Telegram-iOS-Hockeyapp.xcscheme rename Telegram-iOS/{Config-Hockeyapp Internal.xcconfig => Config-Hockeyapp-Internal.xcconfig} (100%) delete mode 100644 Telegram-iOS/Config-Hockeyapp.xcconfig diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 11ce82790a..9c3655b428 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,17 +33,3 @@ beta_testflight: - fastlane testflight_llc environment: name: testflight_llc - -beta_hockeyapp: - tags: - - ios - stage: build - only: - - beta - except: - - tags - script: - - sh ~/ios-prepare-build.sh $CI_PROJECT_DIR/.. - - fastlane hockeyapp - environment: - name: hockeyapp diff --git a/Telegram-iOS.xcodeproj/project.pbxproj b/Telegram-iOS.xcodeproj/project.pbxproj index dca0e3cc1d..dcc2938c0b 100644 --- a/Telegram-iOS.xcodeproj/project.pbxproj +++ b/Telegram-iOS.xcodeproj/project.pbxproj @@ -236,6 +236,7 @@ D02CF61B215DA24900E0F56A /* TelegramCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D02CF61A215DA24900E0F56A /* TelegramCore.framework */; }; D02CF61C215E51D500E0F56A /* BuildConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = D09250011FE52D2A003F693F /* BuildConfig.m */; }; D02E31231BD803E800CD3F01 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D02E31221BD803E800CD3F01 /* main.m */; }; + D0338736223A9A9A007A2CE4 /* Config-Hockeyapp-Internal.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; }; D03B0E7B1D63484500955575 /* ShareRootController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D03B0E7A1D63484500955575 /* ShareRootController.swift */; }; D03B0E821D63484500955575 /* Share.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = D03B0E781D63484500955575 /* Share.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; D03B0E8A1D634B1100955575 /* Display.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D03B0E871D634B1100955575 /* Display.framework */; }; @@ -948,6 +949,7 @@ D02CF61A215DA24900E0F56A /* TelegramCore.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = TelegramCore.framework; sourceTree = BUILT_PRODUCTS_DIR; }; D02CF61D215E522400E0F56A /* NotificationContent-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NotificationContent-Bridging-Header.h"; sourceTree = ""; }; D02E31221BD803E800CD3F01 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Config-Hockeyapp-Internal.xcconfig"; sourceTree = ""; }; D0369C8B1D3E2C9500D91AFC /* libiconv.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libiconv.tbd; path = usr/lib/libiconv.tbd; sourceTree = SDKROOT; }; D0369C8D1D3E2E4800D91AFC /* VideoToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VideoToolbox.framework; path = System/Library/Frameworks/VideoToolbox.framework; sourceTree = SDKROOT; }; D0369C8F1D3E2E5000D91AFC /* libbz2.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libbz2.tbd; path = usr/lib/libbz2.tbd; sourceTree = SDKROOT; }; @@ -1047,7 +1049,6 @@ D073E51F21FF7CE900742DDD /* Crypto.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Crypto.m; sourceTree = ""; }; D073E52122003E1E00742DDD /* Data.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Data.swift; sourceTree = ""; }; D079FD001F06BBD10038FADE /* Telegram-iOS-AppStore.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = "Telegram-iOS-AppStore.entitlements"; sourceTree = ""; }; - D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Config-Hockeyapp.xcconfig"; sourceTree = ""; }; D079FD021F06BBD60038FADE /* Config-AppStore.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Config-AppStore.xcconfig"; sourceTree = ""; }; D084023120E1883500065674 /* ApplicationShortcutItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ApplicationShortcutItem.swift; sourceTree = ""; }; D08410431FABDC5B008FFE92 /* TGItemProviderSignals.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TGItemProviderSignals.h; sourceTree = ""; }; @@ -1067,7 +1068,6 @@ D08985032118B46F00918162 /* SwiftSignalKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = SwiftSignalKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; D08985052118B62400918162 /* SiriIntents-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SiriIntents-Bridging-Header.h"; sourceTree = ""; }; D08985062119B7FE00918162 /* IntentContacts.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IntentContacts.swift; sourceTree = ""; }; - D0924FFE1FE52C75003F693F /* Config-Hockeyapp Internal.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Config-Hockeyapp Internal.xcconfig"; sourceTree = ""; }; D09250001FE52D2A003F693F /* BuildConfig.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BuildConfig.h; sourceTree = ""; }; D09250011FE52D2A003F693F /* BuildConfig.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BuildConfig.m; sourceTree = ""; }; D096C2BD1CC3C021006D814E /* Display.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Display.framework; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -1966,11 +1966,8 @@ D008599E1B28189D00EAF753 /* Telegram-iOS */ = { isa = PBXGroup; children = ( + D0338729223A8347007A2CE4 /* Config */, 09C50E7821738150009E676F /* Watch */, - D0ADF914212B399A00310BBC /* Config-AppStoreLLC.xcconfig */, - D079FD021F06BBD60038FADE /* Config-AppStore.xcconfig */, - D0924FFE1FE52C75003F693F /* Config-Hockeyapp Internal.xcconfig */, - D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */, D021D4D8219CAEDD0064BEBA /* Config-Fork.xcconfig */, D0ADF913212B398000310BBC /* Telegram-iOS-AppStoreLLC.entitlements */, D079FD001F06BBD10038FADE /* Telegram-iOS-AppStore.entitlements */, @@ -2140,6 +2137,40 @@ path = NotificationContent; sourceTree = ""; }; + D0338729223A8347007A2CE4 /* Config */ = { + isa = PBXGroup; + children = ( + D0338734223A9A7E007A2CE4 /* Hockeyapp-Internal */, + D033872B223A835E007A2CE4 /* AppStore */, + D033872A223A834F007A2CE4 /* AppStoreLLC */, + ); + name = Config; + sourceTree = ""; + }; + D033872A223A834F007A2CE4 /* AppStoreLLC */ = { + isa = PBXGroup; + children = ( + D0ADF914212B399A00310BBC /* Config-AppStoreLLC.xcconfig */, + ); + name = AppStoreLLC; + sourceTree = ""; + }; + D033872B223A835E007A2CE4 /* AppStore */ = { + isa = PBXGroup; + children = ( + D079FD021F06BBD60038FADE /* Config-AppStore.xcconfig */, + ); + name = AppStore; + sourceTree = ""; + }; + D0338734223A9A7E007A2CE4 /* Hockeyapp-Internal */ = { + isa = PBXGroup; + children = ( + D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */, + ); + name = "Hockeyapp-Internal"; + sourceTree = ""; + }; D03B0E791D63484500955575 /* Share */ = { isa = PBXGroup; children = ( @@ -2880,6 +2911,7 @@ D04DCC211F71C80000B021D7 /* 0.m4a in Resources */, D04DCC261F71C80000B021D7 /* 103.m4a in Resources */, D0CE6F69213EDA4400BCD44B /* AppIntentVocabulary.plist in Resources */, + D0338736223A9A9A007A2CE4 /* Config-Hockeyapp-Internal.xcconfig in Resources */, D08DB0C0213F4D1D00F2ADBF /* telegram_sphere@2x.png in Resources */, D08DB0AB213F4D1D00F2ADBF /* ic_bubble@2x.png in Resources */, D04DCC341F71C80000B021D7 /* 7.m4a in Resources */, @@ -3743,7 +3775,7 @@ /* Begin XCBuildConfiguration section */ 09C56FA62172797500BDF00F /* DebugHockeyapp */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; @@ -4102,77 +4134,9 @@ }; name = ReleaseAppStoreLLC; }; - 09C56FAB2172797500BDF00F /* ReleaseHockeyapp */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - BUILD_NUMBER = 99999; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - CODE_SIGN_STYLE = Manual; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = X834Q8SBVP; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IBSC_MODULE = Watch_Extension; - INFOPLIST_FILE = Watch/App/Info.plist; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "${APP_BUNDLE_ID}.watchkitapp"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = "match InHouse org.telegram.Telegram-iOS.watchkitapp"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.2; - TARGETED_DEVICE_FAMILY = 4; - VALIDATE_PRODUCT = YES; - WATCHOS_DEPLOYMENT_TARGET = 2.2; - }; - name = ReleaseHockeyapp; - }; 09C56FAC2172797500BDF00F /* ReleaseHockeyappInternal */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D0924FFE1FE52C75003F693F /* Config-Hockeyapp Internal.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; @@ -4240,7 +4204,7 @@ }; 09C56FAD2172797500BDF00F /* DebugHockeyapp */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_COMPLICATION_NAME = Complication; @@ -4605,77 +4569,9 @@ }; name = ReleaseAppStoreLLC; }; - 09C56FB22172797500BDF00F /* ReleaseHockeyapp */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_COMPLICATION_NAME = Complication; - BUILD_NUMBER = 99999; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_STYLE = Manual; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = X834Q8SBVP; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = submodules/SSignalKit; - INFOPLIST_FILE = Watch/Extension/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - LIBRARY_SEARCH_PATHS = submodules/SSignalKit; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "${APP_BUNDLE_ID}.watchkitapp.watchkitextension"; - PRODUCT_NAME = "${TARGET_NAME}"; - PROVISIONING_PROFILE_SPECIFIER = "match InHouse org.telegram.Telegram-iOS.watchkitapp.watchkitextension"; - SDKROOT = watchos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.2; - TARGETED_DEVICE_FAMILY = 4; - VALIDATE_PRODUCT = YES; - WATCHOS_DEPLOYMENT_TARGET = 2.2; - }; - name = ReleaseHockeyapp; - }; 09C56FB32172797500BDF00F /* ReleaseHockeyappInternal */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D0924FFE1FE52C75003F693F /* Config-Hockeyapp Internal.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_COMPLICATION_NAME = Complication; @@ -4743,6 +4639,7 @@ }; D000CAD121FB6E380011B15D /* DebugHockeyapp */ = { isa = XCBuildConfiguration; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; BUILD_NUMBER = 99999; @@ -4818,6 +4715,7 @@ }; D000CAD221FB6E380011B15D /* DebugFork */ = { isa = XCBuildConfiguration; + baseConfigurationReference = D021D4D8219CAEDD0064BEBA /* Config-Fork.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; BUILD_NUMBER = 99999; @@ -4893,6 +4791,7 @@ }; D000CAD321FB6E380011B15D /* DebugAppStore */ = { isa = XCBuildConfiguration; + baseConfigurationReference = D079FD021F06BBD60038FADE /* Config-AppStore.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; BUILD_NUMBER = 99999; @@ -4968,6 +4867,7 @@ }; D000CAD421FB6E380011B15D /* DebugAppStoreLLC */ = { isa = XCBuildConfiguration; + baseConfigurationReference = D0ADF914212B399A00310BBC /* Config-AppStoreLLC.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; BUILD_NUMBER = 99999; @@ -5043,6 +4943,7 @@ }; D000CAD521FB6E380011B15D /* ReleaseAppStore */ = { isa = XCBuildConfiguration; + baseConfigurationReference = D079FD021F06BBD60038FADE /* Config-AppStore.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; BUILD_NUMBER = 99999; @@ -5111,6 +5012,7 @@ }; D000CAD621FB6E380011B15D /* ReleaseAppStoreLLC */ = { isa = XCBuildConfiguration; + baseConfigurationReference = D0ADF914212B399A00310BBC /* Config-AppStoreLLC.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; BUILD_NUMBER = 99999; @@ -5177,76 +5079,9 @@ }; name = ReleaseAppStoreLLC; }; - D000CAD721FB6E380011B15D /* ReleaseHockeyapp */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - BUILD_NUMBER = 99999; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_ENTITLEMENTS = "NotificationService/NotificationService-Hockeyapp.entitlements"; - CODE_SIGN_IDENTITY = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - CODE_SIGN_STYLE = Manual; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = X834Q8SBVP; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = NotificationService/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "$(APP_BUNDLE_ID).NotificationService"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = "match InHouse org.telegram.Telegram-iOS.NotificationService"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OBJC_BRIDGING_HEADER = "NotificationService/NotificationService-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.2; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = ReleaseHockeyapp; - }; D000CAD821FB6E380011B15D /* ReleaseHockeyappInternal */ = { isa = XCBuildConfiguration; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; BUILD_NUMBER = 99999; @@ -5315,7 +5150,7 @@ }; D00859B91B28189D00EAF753 /* DebugHockeyapp */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; BUILD_NUMBER = 9999; @@ -5410,7 +5245,7 @@ }; D00859BC1B28189D00EAF753 /* DebugHockeyapp */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; @@ -5497,7 +5332,7 @@ }; D00859BF1B28189D00EAF753 /* DebugHockeyapp */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_IDENTITY = "iPhone Developer"; @@ -6087,7 +5922,7 @@ }; D02CF609215D9ABF00E0F56A /* DebugHockeyapp */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; BUILD_NUMBER = 99999; @@ -6451,78 +6286,9 @@ }; name = ReleaseAppStoreLLC; }; - D02CF60E215D9ABF00E0F56A /* ReleaseHockeyapp */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - BUILD_NUMBER = 99999; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_ENTITLEMENTS = "NotificationContent/NotificationContent-HockeyApp.entitlements"; - CODE_SIGN_IDENTITY = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - CODE_SIGN_STYLE = Manual; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = X834Q8SBVP; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = NotificationContent/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "${APP_BUNDLE_ID}.NotificationContent"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = "match InHouse org.telegram.Telegram-iOS.NotificationContent"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OBJC_BRIDGING_HEADER = "NotificationContent/NotificationContent-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.2; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = ReleaseHockeyapp; - }; D02CF60F215D9ABF00E0F56A /* ReleaseHockeyappInternal */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D0924FFE1FE52C75003F693F /* Config-Hockeyapp Internal.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; BUILD_NUMBER = 99999; @@ -6591,7 +6357,7 @@ }; D03B0E841D63484500955575 /* DebugHockeyapp */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { BITCODE_GENERATION_MODE = marker; BUILD_NUMBER = 99999; @@ -6652,37 +6418,6 @@ }; name = ReleaseAppStore; }; - D03B0E861D63484500955575 /* ReleaseHockeyapp */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; - buildSettings = { - BITCODE_GENERATION_MODE = bitcode; - BUILD_NUMBER = 99999; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ENABLE_MODULES = YES; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_SUSPICIOUS_MOVES = YES; - CODE_SIGN_ENTITLEMENTS = "Share/Share-HockeyApp.entitlements"; - CODE_SIGN_IDENTITY = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - CURRENT_PROJECT_VERSION = 667; - DEVELOPMENT_TEAM = X834Q8SBVP; - INFOPLIST_FILE = Share/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "${APP_BUNDLE_ID}.Share"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE = "cfe514a2-916a-4247-b5a4-c2c4c6fd2805"; - PROVISIONING_PROFILE_SPECIFIER = "match InHouse org.telegram.Telegram-iOS.Share"; - SKIP_INSTALL = YES; - SWIFT_INSTALL_OBJC_HEADER = NO; - SWIFT_OBJC_BRIDGING_HEADER = "Share/Share-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; - }; - name = ReleaseHockeyapp; - }; D079FCF91F06BBA40038FADE /* DebugAppStore */ = { isa = XCBuildConfiguration; baseConfigurationReference = D079FD021F06BBD60038FADE /* Config-AppStore.xcconfig */; @@ -6865,7 +6600,7 @@ }; D0924FF91FE52C46003F693F /* ReleaseHockeyappInternal */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D0924FFE1FE52C75003F693F /* Config-Hockeyapp Internal.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; BUILD_NUMBER = 9999; @@ -6909,7 +6644,7 @@ }; D0924FFA1FE52C46003F693F /* ReleaseHockeyappInternal */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D0924FFE1FE52C75003F693F /* Config-Hockeyapp Internal.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; @@ -6953,7 +6688,7 @@ }; D0924FFB1FE52C46003F693F /* ReleaseHockeyappInternal */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D0924FFE1FE52C75003F693F /* Config-Hockeyapp Internal.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_IDENTITY = "iPhone Developer"; @@ -6972,7 +6707,7 @@ }; D0924FFC1FE52C46003F693F /* ReleaseHockeyappInternal */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D0924FFE1FE52C75003F693F /* Config-Hockeyapp Internal.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { BITCODE_GENERATION_MODE = bitcode; BUILD_NUMBER = 99999; @@ -7003,7 +6738,7 @@ }; D0924FFD1FE52C46003F693F /* ReleaseHockeyappInternal */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D0924FFE1FE52C75003F693F /* Config-Hockeyapp Internal.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { BITCODE_GENERATION_MODE = bitcode; BUILD_NUMBER = 99999; @@ -7354,7 +7089,7 @@ }; D0B2F743204F4C9900D3BFB9 /* DebugHockeyapp */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; BUILD_NUMBER = 99999; @@ -7563,75 +7298,9 @@ }; name = ReleaseAppStore; }; - D0B2F746204F4C9900D3BFB9 /* ReleaseHockeyapp */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - BUILD_NUMBER = 99999; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_ENTITLEMENTS = "Widget/Widget-HockeyApp.entitlements"; - CODE_SIGN_IDENTITY = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - CODE_SIGN_STYLE = Manual; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = X834Q8SBVP; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = Widget/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = "${APP_BUNDLE_ID}.Widget"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE = "1a27976e-0845-48e4-ae3d-2ff38089024d"; - PROVISIONING_PROFILE_SPECIFIER = "match InHouse org.telegram.Telegram-iOS.Widget"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OBJC_BRIDGING_HEADER = "Widget/Widget-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = ReleaseHockeyapp; - }; D0B2F747204F4C9900D3BFB9 /* ReleaseHockeyappInternal */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D0924FFE1FE52C75003F693F /* Config-Hockeyapp Internal.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; BUILD_NUMBER = 99999; @@ -7993,7 +7662,7 @@ }; D0D2688F1D79A70B00C422DA /* DebugHockeyapp */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { BITCODE_GENERATION_MODE = marker; BUILD_NUMBER = 99999; @@ -8048,145 +7717,9 @@ }; name = ReleaseAppStore; }; - D0D268911D79A70B00C422DA /* ReleaseHockeyapp */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; - buildSettings = { - BITCODE_GENERATION_MODE = bitcode; - BUILD_NUMBER = 99999; - CLANG_ANALYZER_NONNULL = YES; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_SUSPICIOUS_MOVES = YES; - CODE_SIGN_ENTITLEMENTS = "SiriIntents/SiriIntents-Hockeyapp.entitlements"; - CODE_SIGN_IDENTITY = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - CURRENT_PROJECT_VERSION = 667; - DEVELOPMENT_TEAM = X834Q8SBVP; - INFOPLIST_FILE = SiriIntents/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "${APP_BUNDLE_ID}.SiriIntents"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE = "94efdcdd-1da2-4ec6-87f3-5e50b55a07f9"; - PROVISIONING_PROFILE_SPECIFIER = "match InHouse org.telegram.Telegram-iOS.SiriIntents"; - SKIP_INSTALL = YES; - SWIFT_OBJC_BRIDGING_HEADER = "SiriIntents/SiriIntents-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; - }; - name = ReleaseHockeyapp; - }; - D0D7481D1CBBE0AC00B0ED5C /* ReleaseHockeyapp */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - BUILD_NUMBER = 9999; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MTL_ENABLE_DEBUG_INFO = NO; - PROVISIONING_PROFILE = "f58b31fd-48bf-4eac-b066-a5ebea37dfd7"; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = ReleaseHockeyapp; - }; - D0D7481E1CBBE0AC00B0ED5C /* ReleaseHockeyapp */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - BITCODE_GENERATION_MODE = bitcode; - BUILD_NUMBER = 99999; - CLANG_MODULES_AUTOLINK = NO; - CODE_SIGN_ENTITLEMENTS = "Telegram-iOS/Telegram-iOS-Hockeyapp.entitlements"; - CODE_SIGN_IDENTITY = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: TELEGRAM MESSENGER LLP"; - COMMIT_ID = ""; - CURRENT_PROJECT_VERSION = 667; - DEVELOPMENT_TEAM = X834Q8SBVP; - ENABLE_BITCODE = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(BUILT_PRODUCTS_DIR)", - "$(PROJECT_DIR)/third-party", - ); - HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/Watch/Bridge"; - INFOPLIST_FILE = "Telegram-iOS/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/submodules/TelegramUI/third-party/opus/lib", - ); - OTHER_LDFLAGS = ( - "-ObjC", - "-lz", - ); - OTHER_SWIFT_FLAGS = ""; - PRODUCT_BUNDLE_IDENTIFIER = "${APP_BUNDLE_ID}"; - PRODUCT_NAME = "Telegram X"; - PROVISIONING_PROFILE = "a453791e-7153-42a4-8b61-d00a130e59d2"; - PROVISIONING_PROFILE_SPECIFIER = "match InHouse org.telegram.Telegram-iOS"; - SWIFT_OBJC_BRIDGING_HEADER = "Telegram-iOS/Telegram-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; - USER_HEADER_SEARCH_PATHS = ""; - }; - name = ReleaseHockeyapp; - }; - D0D7481F1CBBE0AC00B0ED5C /* ReleaseHockeyapp */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_IDENTITY = "iPhone Developer"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - FRAMEWORK_SEARCH_PATHS = "$(SDKROOT)/Developer/Library/Frameworks"; - INFOPLIST_FILE = "Telegram-iOSTests/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "org.telegram.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 3.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Telegram-iOS.app/Telegram-iOS"; - }; - name = ReleaseHockeyapp; - }; D0ECCB831FE9C38500609802 /* DebugHockeyapp */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; @@ -8384,71 +7917,9 @@ }; name = ReleaseAppStore; }; - D0ECCB861FE9C38500609802 /* ReleaseHockeyapp */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D079FD011F06BBD60038FADE /* Config-Hockeyapp.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Manual; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = ""; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = "Telegram-iOS UITests/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 11.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = "org.Telegram.Telegram-iOS-UITests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE = "df24dc18-3fdc-447c-b347-5a110cecd77d"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = "Telegram-iOS"; - VALIDATE_PRODUCT = YES; - }; - name = ReleaseHockeyapp; - }; D0ECCB871FE9C38500609802 /* ReleaseHockeyappInternal */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D0924FFE1FE52C75003F693F /* Config-Hockeyapp Internal.xcconfig */; + baseConfigurationReference = D0338735223A9A99007A2CE4 /* Config-Hockeyapp-Internal.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; @@ -8520,7 +7991,6 @@ 09C56FAF2172797500BDF00F /* DebugAppStoreLLC */, 09C56FB02172797500BDF00F /* ReleaseAppStore */, 09C56FB12172797500BDF00F /* ReleaseAppStoreLLC */, - 09C56FB22172797500BDF00F /* ReleaseHockeyapp */, 09C56FB32172797500BDF00F /* ReleaseHockeyappInternal */, ); defaultConfigurationIsVisible = 0; @@ -8535,7 +8005,6 @@ 09C56FA82172797500BDF00F /* DebugAppStoreLLC */, 09C56FA92172797500BDF00F /* ReleaseAppStore */, 09C56FAA2172797500BDF00F /* ReleaseAppStoreLLC */, - 09C56FAB2172797500BDF00F /* ReleaseHockeyapp */, 09C56FAC2172797500BDF00F /* ReleaseHockeyappInternal */, ); defaultConfigurationIsVisible = 0; @@ -8550,7 +8019,6 @@ D000CAD421FB6E380011B15D /* DebugAppStoreLLC */, D000CAD521FB6E380011B15D /* ReleaseAppStore */, D000CAD621FB6E380011B15D /* ReleaseAppStoreLLC */, - D000CAD721FB6E380011B15D /* ReleaseHockeyapp */, D000CAD821FB6E380011B15D /* ReleaseHockeyappInternal */, ); defaultConfigurationIsVisible = 0; @@ -8565,7 +8033,6 @@ D0ADF915212B3A9D00310BBC /* DebugAppStoreLLC */, D00859BA1B28189D00EAF753 /* ReleaseAppStore */, D0CE6F0D213DC33200BCD44B /* ReleaseAppStoreLLC */, - D0D7481D1CBBE0AC00B0ED5C /* ReleaseHockeyapp */, D0924FF91FE52C46003F693F /* ReleaseHockeyappInternal */, ); defaultConfigurationIsVisible = 0; @@ -8580,7 +8047,6 @@ D0ADF916212B3A9D00310BBC /* DebugAppStoreLLC */, D00859BD1B28189D00EAF753 /* ReleaseAppStore */, D0CE6F0E213DC33200BCD44B /* ReleaseAppStoreLLC */, - D0D7481E1CBBE0AC00B0ED5C /* ReleaseHockeyapp */, D0924FFA1FE52C46003F693F /* ReleaseHockeyappInternal */, ); defaultConfigurationIsVisible = 0; @@ -8595,7 +8061,6 @@ D0ADF917212B3A9E00310BBC /* DebugAppStoreLLC */, D00859C01B28189D00EAF753 /* ReleaseAppStore */, D0CE6F0F213DC33200BCD44B /* ReleaseAppStoreLLC */, - D0D7481F1CBBE0AC00B0ED5C /* ReleaseHockeyapp */, D0924FFB1FE52C46003F693F /* ReleaseHockeyappInternal */, ); defaultConfigurationIsVisible = 0; @@ -8610,7 +8075,6 @@ D02CF60B215D9ABF00E0F56A /* DebugAppStoreLLC */, D02CF60C215D9ABF00E0F56A /* ReleaseAppStore */, D02CF60D215D9ABF00E0F56A /* ReleaseAppStoreLLC */, - D02CF60E215D9ABF00E0F56A /* ReleaseHockeyapp */, D02CF60F215D9ABF00E0F56A /* ReleaseHockeyappInternal */, ); defaultConfigurationIsVisible = 0; @@ -8625,7 +8089,6 @@ D0ADF918212B3A9E00310BBC /* DebugAppStoreLLC */, D03B0E851D63484500955575 /* ReleaseAppStore */, D0CE6F10213DC33200BCD44B /* ReleaseAppStoreLLC */, - D03B0E861D63484500955575 /* ReleaseHockeyapp */, D0924FFC1FE52C46003F693F /* ReleaseHockeyappInternal */, ); defaultConfigurationIsVisible = 0; @@ -8640,7 +8103,6 @@ D0ADF91B212B3A9E00310BBC /* DebugAppStoreLLC */, D0B2F745204F4C9900D3BFB9 /* ReleaseAppStore */, D0CE6F13213DC33200BCD44B /* ReleaseAppStoreLLC */, - D0B2F746204F4C9900D3BFB9 /* ReleaseHockeyapp */, D0B2F747204F4C9900D3BFB9 /* ReleaseHockeyappInternal */, ); defaultConfigurationIsVisible = 0; @@ -8655,7 +8117,6 @@ D0ADF919212B3A9E00310BBC /* DebugAppStoreLLC */, D0D268901D79A70B00C422DA /* ReleaseAppStore */, D0CE6F11213DC33200BCD44B /* ReleaseAppStoreLLC */, - D0D268911D79A70B00C422DA /* ReleaseHockeyapp */, D0924FFD1FE52C46003F693F /* ReleaseHockeyappInternal */, ); defaultConfigurationIsVisible = 0; @@ -8670,7 +8131,6 @@ D0ADF91A212B3A9E00310BBC /* DebugAppStoreLLC */, D0ECCB851FE9C38500609802 /* ReleaseAppStore */, D0CE6F12213DC33200BCD44B /* ReleaseAppStoreLLC */, - D0ECCB861FE9C38500609802 /* ReleaseHockeyapp */, D0ECCB871FE9C38500609802 /* ReleaseHockeyappInternal */, ); defaultConfigurationIsVisible = 0; diff --git a/Telegram-iOS.xcworkspace/xcshareddata/xcschemes/Telegram-iOS-Hockeyapp.xcscheme b/Telegram-iOS.xcworkspace/xcshareddata/xcschemes/Telegram-iOS-Hockeyapp.xcscheme deleted file mode 100644 index a5e8ee86e9..0000000000 --- a/Telegram-iOS.xcworkspace/xcshareddata/xcschemes/Telegram-iOS-Hockeyapp.xcscheme +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Telegram-iOS/AppDelegate.swift b/Telegram-iOS/AppDelegate.swift index afecef9270..0eb93f2277 100644 --- a/Telegram-iOS/AppDelegate.swift +++ b/Telegram-iOS/AppDelegate.swift @@ -1076,8 +1076,8 @@ private final class SharedApplicationContext { } }) - if !BuildConfig.shared().hockeyAppId.isEmpty { - BITHockeyManager.shared().configure(withIdentifier: BuildConfig.shared().hockeyAppId, delegate: self) + if let hockeyAppId = BuildConfig.shared().hockeyAppId, !hockeyAppId.isEmpty { + BITHockeyManager.shared().configure(withIdentifier: hockeyAppId, delegate: self) BITHockeyManager.shared().crashManager.crashManagerStatus = .alwaysAsk BITHockeyManager.shared().start() BITHockeyManager.shared().authenticator.authenticateInstallation() diff --git a/Telegram-iOS/BuildConfig.h b/Telegram-iOS/BuildConfig.h index 3999c08a9a..73bbcd9f58 100644 --- a/Telegram-iOS/BuildConfig.h +++ b/Telegram-iOS/BuildConfig.h @@ -4,7 +4,7 @@ + (instancetype _Nonnull)sharedBuildConfig; -@property (nonatomic, strong, readonly) NSString * _Nonnull hockeyAppId; +@property (nonatomic, strong, readonly) NSString * _Nullable hockeyAppId; @property (nonatomic, readonly) int32_t apiId; @property (nonatomic, strong, readonly) NSString * _Nonnull apiHash; @property (nonatomic, readonly) bool isInternalBuild; diff --git a/Telegram-iOS/BuildConfig.m b/Telegram-iOS/BuildConfig.m index 58175cecd3..e71c5426fb 100644 --- a/Telegram-iOS/BuildConfig.m +++ b/Telegram-iOS/BuildConfig.m @@ -1,5 +1,13 @@ #import "BuildConfig.h" +@interface BuildConfig () { + int32_t _apiId; + NSString * _Nonnull _apiHash; + NSString * _Nullable _hockeyAppId; +} + +@end + @implementation BuildConfig + (instancetype _Nonnull)sharedBuildConfig { @@ -11,16 +19,80 @@ return instance; } +- (instancetype)init { + self = [super init]; + if (self != nil) { + char buf[3]; + buf[2] = '\0'; + NSString *hex = @(APP_CONFIG_DATA); + assert(0 == [hex length] % 2); + unsigned char *bytes = malloc([hex length]/2); + unsigned char *bp = bytes; + for (CFIndex i = 0; i < [hex length]; i += 2) { + buf[0] = [hex characterAtIndex:i]; + buf[1] = [hex characterAtIndex:i+1]; + char *b2 = NULL; + *bp++ = strtol(buf, &b2, 16); + assert(b2 == buf + 2); + } + + NSMutableData *data = [NSMutableData dataWithBytesNoCopy:bytes length:[hex length]/2 freeWhenDone:YES]; + if ([data length] == 0) { + assert(false); + } + + const char *streamCode = "Cypher"; + int keyLength = (int)strlen(streamCode); + int keyOffset = 0; + for (NSUInteger i = 0; i < data.length; i++) { + ((uint8_t *)data.mutableBytes)[i] ^= ((uint8_t *)streamCode)[keyOffset % keyLength]; + keyOffset += 1; + } + + int offset = 0; + uint32_t header = 0; + [data getBytes:&header range:NSMakeRange(offset, 4)]; + offset += 4; + if (header != 0xabcdef01U) { + assert(false); + } + + [data getBytes:&_apiId range:NSMakeRange(offset, 4)]; + offset += 4; + + int32_t apiHashLength = 0; + [data getBytes:&apiHashLength range:NSMakeRange(offset, 4)]; + offset += 4; + + if (apiHashLength > 0) { + _apiHash = [[NSString alloc] initWithData:[data subdataWithRange:NSMakeRange(offset, apiHashLength)] encoding:NSUTF8StringEncoding]; + offset += apiHashLength; + } else { + assert(false); + } + + int32_t hockeyappIdLength = 0; + [data getBytes:&hockeyappIdLength range:NSMakeRange(offset, 4)]; + offset += 4; + + if (hockeyappIdLength > 0) { + _hockeyAppId = [[NSString alloc] initWithData:[data subdataWithRange:NSMakeRange(offset, hockeyappIdLength)] encoding:NSUTF8StringEncoding]; + offset += hockeyappIdLength; + } + } + return self; +} + - (int32_t)apiId { - return APP_CONFIG_API_ID; + return _apiId; } - (NSString * _Nonnull)apiHash { - return @(APP_CONFIG_API_HASH); + return _apiHash; } -- (NSString * _Nonnull)hockeyAppId { - return @(APP_CONFIG_HOCKEYAPPID); +- (NSString * _Nullable)hockeyAppId { + return _hockeyAppId; } - (bool)isInternalBuild { diff --git a/Telegram-iOS/Config-Hockeyapp Internal.xcconfig b/Telegram-iOS/Config-Hockeyapp-Internal.xcconfig similarity index 100% rename from Telegram-iOS/Config-Hockeyapp Internal.xcconfig rename to Telegram-iOS/Config-Hockeyapp-Internal.xcconfig diff --git a/Telegram-iOS/Config-Hockeyapp.xcconfig b/Telegram-iOS/Config-Hockeyapp.xcconfig deleted file mode 100644 index 6b2db78c95..0000000000 --- a/Telegram-iOS/Config-Hockeyapp.xcconfig +++ /dev/null @@ -1 +0,0 @@ -#include "../../Telegram-iOS-Shared/Config/Hockeyapp/Config.xcconfig" diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 180868f26d..f75068ddbd 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -1 +1,63 @@ +fastlane_version "1.81.0" + +default_platform :ios + +base_app_identifier_llc = "ph.telegra.Telegraph" +app_identifier_llc = [ + base_app_identifier_llc, + base_app_identifier_llc + ".Widget", + base_app_identifier_llc + ".NotificationContent", + base_app_identifier_llc + ".SiriIntents", + base_app_identifier_llc + ".Share", + base_app_identifier_llc + ".watchkitapp", + base_app_identifier_llc + ".watchkitapp.watchkitextension", + base_app_identifier_llc + ".NotificationService" +] + +lane :do_build_app do |options| + gym( + workspace: "Telegram-iOS.xcworkspace", + configuration: options[:configuration], + scheme: options[:scheme], + silent: false, + clean: true, + export_method: options[:export_method], + output_name: options[:scheme], + derived_data_path: "build/" + options[:scheme] + "/DerivedData", + xcargs: "BUILD_NUMBER='" + options[:build_number] + "' " + "COMMIT_ID='" + options[:commit_id] + "'", + archive_path: "build/" + options[:scheme] + "/Archive", + export_options: { + compileBitcode: false, + iCloudContainerEnvironment: "Production", + provisioningProfiles: options[:provisioningProfiles], + stripSwiftSymbols: true, + uploadBitcode: false + } + ) +end + +lane :build_for_appstore do |options| + commit = last_git_commit + commit_count = sh("git rev-list --count HEAD") + commit_count_int = commit_count.to_i + 1000 + commit_count_string = commit_count_int.to_s + do_build_app( + configuration: "ReleaseAppStoreLLC", + scheme: "Telegram-iOS-AppStoreLLC", + export_method: "app-store", + build_number: commit_count_string, + commit_id: commit[:commit_hash], + provisioningProfiles: { + base_app_identifier_llc => "match AppStore " + base_app_identifier_llc, + base_app_identifier_llc + ".Share" => "match AppStore " + base_app_identifier_llc + ".Share", + base_app_identifier_llc + ".SiriIntents" => "match AppStore " + base_app_identifier_llc + ".SiriIntents", + base_app_identifier_llc + ".Widget" => "match AppStore " + base_app_identifier_llc + ".Widget", + base_app_identifier_llc + ".NotificationContent" => "match AppStore " + base_app_identifier_llc + ".NotificationContent", + base_app_identifier_llc + ".watchkitapp.watchkitextension" => "match AppStore " + base_app_identifier_llc + ".watchkitapp.watchkitextension", + base_app_identifier_llc + ".watchkitapp" => "match AppStore " + base_app_identifier_llc + ".watchkitapp", + base_app_identifier_llc + ".NotificationService" => "match AppStore " + base_app_identifier_llc + ".NotificationService" + } + ) +end + import "../../Telegram-iOS-Shared/fastlane/Fastfile" diff --git a/submodules/TelegramUI b/submodules/TelegramUI index cba9789cb5..5b04bba7b2 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit cba9789cb5c7128d13ea2df29261a7b1546b0aee +Subproject commit 5b04bba7b2d484e4a2729234a6dcfc790f4e5f8f From d569f8279744644d8d44ea966512334cc5dd020c Mon Sep 17 00:00:00 2001 From: Peter <> Date: Fri, 15 Mar 2019 21:13:25 +0400 Subject: [PATCH 10/40] Update submodules --- .../NotificationViewController.swift | 2 +- Share/ShareRootController.swift | 2 +- SiriIntents/IntentHandler.swift | 2 +- Telegram-iOS/AppDelegate.swift | 211 +++++++++----- Telegram-iOS/ApplicationContext.swift | 8 +- Telegram-iOS/BuildConfig.h | 1 + Telegram-iOS/BuildConfig.m | 271 ++++++++++++++++++ Telegram-iOS/LegacyPreferencesImport.swift | 15 +- Telegram-iOS/en.lproj/Localizable.strings | 2 + Widget/TodayViewController.swift | 2 +- submodules/MtProtoKit | 2 +- submodules/TelegramCore | 2 +- submodules/TelegramUI | 2 +- submodules/libtgvoip | 2 +- 14 files changed, 430 insertions(+), 94 deletions(-) diff --git a/NotificationContent/NotificationViewController.swift b/NotificationContent/NotificationViewController.swift index 8bd411f3c9..346460738c 100644 --- a/NotificationContent/NotificationViewController.swift +++ b/NotificationContent/NotificationViewController.swift @@ -117,7 +117,7 @@ class NotificationViewController: UIViewController, UNNotificationContentExtensi let appVersion = (Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String) ?? "unknown" - sharedAccountContext = SharedAccountContext(mainWindow: nil, basePath: rootPath, accountManager: accountManager, applicationBindings: applicationBindings, initialPresentationDataAndSettings: initialPresentationDataAndSettings!, networkArguments: NetworkInitializationArguments(apiId: apiId, languagesCategory: languagesCategory, appVersion: appVersion, voipMaxLayer: 0), rootPath: rootPath, legacyBasePath: nil, legacyCache: nil, apsNotificationToken: .never(), voipNotificationToken: .never(), setNotificationCall: { _ in }, navigateToChat: { _, _, _ in }) + sharedAccountContext = SharedAccountContext(mainWindow: nil, basePath: rootPath, accountManager: accountManager, applicationBindings: applicationBindings, initialPresentationDataAndSettings: initialPresentationDataAndSettings!, networkArguments: NetworkInitializationArguments(apiId: apiId, languagesCategory: languagesCategory, appVersion: appVersion, voipMaxLayer: 0, appData: BuildConfig.shared().bundleData), rootPath: rootPath, legacyBasePath: nil, legacyCache: nil, apsNotificationToken: .never(), voipNotificationToken: .never(), setNotificationCall: { _ in }, navigateToChat: { _, _, _ in }) } } diff --git a/Share/ShareRootController.swift b/Share/ShareRootController.swift index d3d5ecd8c2..eb5e5fbcb5 100644 --- a/Share/ShareRootController.swift +++ b/Share/ShareRootController.swift @@ -160,7 +160,7 @@ class ShareRootController: UIViewController { }) semaphore.wait() - let sharedContext = SharedAccountContext(mainWindow: nil, basePath: rootPath, accountManager: accountManager, applicationBindings: applicationBindings, initialPresentationDataAndSettings: initialPresentationDataAndSettings!, networkArguments: NetworkInitializationArguments(apiId: apiId, languagesCategory: languagesCategory, appVersion: appVersion, voipMaxLayer: 0), rootPath: rootPath, legacyBasePath: nil, legacyCache: nil, apsNotificationToken: .never(), voipNotificationToken: .never(), setNotificationCall: { _ in }, navigateToChat: { _, _, _ in }) + let sharedContext = SharedAccountContext(mainWindow: nil, basePath: rootPath, accountManager: accountManager, applicationBindings: applicationBindings, initialPresentationDataAndSettings: initialPresentationDataAndSettings!, networkArguments: NetworkInitializationArguments(apiId: apiId, languagesCategory: languagesCategory, appVersion: appVersion, voipMaxLayer: 0, appData: BuildConfig.shared().bundleData), rootPath: rootPath, legacyBasePath: nil, legacyCache: nil, apsNotificationToken: .never(), voipNotificationToken: .never(), setNotificationCall: { _ in }, navigateToChat: { _, _, _ in }) sharedExtensionContext = SharedExtensionContext(sharedContext: sharedContext) globalSharedExtensionContext = sharedExtensionContext } diff --git a/SiriIntents/IntentHandler.swift b/SiriIntents/IntentHandler.swift index 59cb28dfbf..5710b215ae 100644 --- a/SiriIntents/IntentHandler.swift +++ b/SiriIntents/IntentHandler.swift @@ -84,7 +84,7 @@ class IntentHandler: INExtension, INSendMessageIntentHandling, INSearchForMessag initializeAccountManagement() let accountManager = AccountManager(basePath: rootPath + "/accounts-metadata") - account = currentAccount(allocateIfNotExists: false, networkArguments: NetworkInitializationArguments(apiId: apiId, languagesCategory: languagesCategory, appVersion: appVersion, voipMaxLayer: 0), supplementary: true, manager: accountManager, rootPath: rootPath, auxiliaryMethods: accountAuxiliaryMethods) + account = currentAccount(allocateIfNotExists: false, networkArguments: NetworkInitializationArguments(apiId: apiId, languagesCategory: languagesCategory, appVersion: appVersion, voipMaxLayer: 0, appData: BuildConfig.shared().bundleData), supplementary: true, manager: accountManager, rootPath: rootPath, auxiliaryMethods: accountAuxiliaryMethods) |> mapToSignal { account -> Signal in if let account = account { switch account { diff --git a/Telegram-iOS/AppDelegate.swift b/Telegram-iOS/AppDelegate.swift index 0eb93f2277..185cfa3403 100644 --- a/Telegram-iOS/AppDelegate.swift +++ b/Telegram-iOS/AppDelegate.swift @@ -344,7 +344,7 @@ private final class SharedApplicationContext { let appVersion = (Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String) ?? "unknown" - let networkArguments = NetworkInitializationArguments(apiId: apiId, languagesCategory: languagesCategory, appVersion: appVersion, voipMaxLayer: PresentationCallManager.voipMaxLayer) + let networkArguments = NetworkInitializationArguments(apiId: apiId, languagesCategory: languagesCategory, appVersion: appVersion, voipMaxLayer: PresentationCallManager.voipMaxLayer, appData: BuildConfig.shared().bundleData) let appGroupName = "group.\(Bundle.main.bundleIdentifier!)" let maybeAppGroupUrl = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: appGroupName) @@ -1612,81 +1612,84 @@ private final class SharedApplicationContext { @available(iOS 10.0, *) func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) { - if response.actionIdentifier == UNNotificationDefaultActionIdentifier { - if let peerId = peerIdFromNotification(response.notification) { - var messageId: MessageId? = nil - if response.notification.request.content.categoryIdentifier == "watch" { - messageId = messageIdFromNotification(peerId: peerId, notification: response.notification) - } - self.openChatWhenReady(accountId: accountIdFromNotification(response.notification), peerId: peerId, messageId: messageId) - } - completionHandler() - } else if response.actionIdentifier == "reply", let peerId = peerIdFromNotification(response.notification), let accountId = accountIdFromNotification(response.notification) { - guard let response = response as? UNTextInputNotificationResponse, !response.userText.isEmpty else { - completionHandler() - return - } - let text = response.userText - let signal = self.sharedContextPromise.get() - |> take(1) - |> deliverOnMainQueue - |> mapToSignal { sharedContext -> Signal in - sharedContext.wakeupManager.allowBackgroundTimeExtension(timeout: 4.0) - return sharedContext.sharedContext.activeAccounts - |> mapToSignal { _, accounts, _ -> Signal in - for account in accounts { - if account.1.id == accountId { - return .single(account.1) - } + let _ = (accountIdFromNotification(response.notification, sharedContext: self.sharedContextPromise.get()) + |> deliverOnMainQueue).start(next: { accountId in + if response.actionIdentifier == UNNotificationDefaultActionIdentifier { + if let peerId = peerIdFromNotification(response.notification) { + var messageId: MessageId? = nil + if response.notification.request.content.categoryIdentifier == "watch" { + messageId = messageIdFromNotification(peerId: peerId, notification: response.notification) } - return .complete() + self.openChatWhenReady(accountId: accountId, peerId: peerId, messageId: messageId) } + completionHandler() + } else if response.actionIdentifier == "reply", let peerId = peerIdFromNotification(response.notification), let accountId = accountId { + guard let response = response as? UNTextInputNotificationResponse, !response.userText.isEmpty else { + completionHandler() + return + } + let text = response.userText + let signal = self.sharedContextPromise.get() |> take(1) |> deliverOnMainQueue - |> mapToSignal { account -> Signal in - if let messageId = messageIdFromNotification(peerId: peerId, notification: response.notification) { - let _ = applyMaxReadIndexInteractively(postbox: account.postbox, stateManager: account.stateManager, index: MessageIndex(id: messageId, timestamp: 0)).start() - } - return enqueueMessages(account: account, peerId: peerId, messages: [EnqueueMessage.message(text: text, attributes: [], mediaReference: nil, replyToMessageId: nil, localGroupingKey: nil)]) - |> map { messageIds -> MessageId? in - if messageIds.isEmpty { - return nil - } else { - return messageIds[0] - } - } - |> mapToSignal { messageId -> Signal in - if let messageId = messageId { - return account.postbox.unsentMessageIdsView() - |> filter { view in - return !view.ids.contains(messageId) + |> mapToSignal { sharedContext -> Signal in + sharedContext.wakeupManager.allowBackgroundTimeExtension(timeout: 4.0) + return sharedContext.sharedContext.activeAccounts + |> mapToSignal { _, accounts, _ -> Signal in + for account in accounts { + if account.1.id == accountId { + return .single(account.1) } - |> take(1) - |> mapToSignal { _ -> Signal in + } + return .complete() + } + |> take(1) + |> deliverOnMainQueue + |> mapToSignal { account -> Signal in + if let messageId = messageIdFromNotification(peerId: peerId, notification: response.notification) { + let _ = applyMaxReadIndexInteractively(postbox: account.postbox, stateManager: account.stateManager, index: MessageIndex(id: messageId, timestamp: 0)).start() + } + return enqueueMessages(account: account, peerId: peerId, messages: [EnqueueMessage.message(text: text, attributes: [], mediaReference: nil, replyToMessageId: nil, localGroupingKey: nil)]) + |> map { messageIds -> MessageId? in + if messageIds.isEmpty { + return nil + } else { + return messageIds[0] + } + } + |> mapToSignal { messageId -> Signal in + if let messageId = messageId { + return account.postbox.unsentMessageIdsView() + |> filter { view in + return !view.ids.contains(messageId) + } + |> take(1) + |> mapToSignal { _ -> Signal in + return .complete() + } + } else { return .complete() } - } else { - return .complete() } } } - } - |> deliverOnMainQueue - - let disposable = MetaDisposable() - disposable.set((signal - |> afterDisposed { [weak disposable] in - Queue.mainQueue().async { - if let disposable = disposable { - self.replyFromNotificationsDisposables.remove(disposable) + |> deliverOnMainQueue + + let disposable = MetaDisposable() + disposable.set((signal + |> afterDisposed { [weak disposable] in + Queue.mainQueue().async { + if let disposable = disposable { + self.replyFromNotificationsDisposables.remove(disposable) + } + completionHandler() } - completionHandler() - } - }).start()) - self.replyFromNotificationsDisposables.add(disposable) - } else { - completionHandler() - } + }).start()) + self.replyFromNotificationsDisposables.add(disposable) + } else { + completionHandler() + } + }) } private func registerForNotifications(context: AccountContext, authorize: Bool = true, completion: @escaping (Bool) -> Void = { _ in }) { @@ -1884,11 +1887,14 @@ private final class SharedApplicationContext { @available(iOS 10.0, *) func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) { - if let context = self.contextValue { - if let accountId = accountIdFromNotification(notification), context.context.account.id != accountId { - completionHandler([.alert]) + let _ = (accountIdFromNotification(notification, sharedContext: self.sharedContextPromise.get()) + |> deliverOnMainQueue).start(next: { accountId in + if let context = self.contextValue { + if let accountId = accountId, context.context.account.id != accountId { + completionHandler([.alert]) + } } - } + }) } override var next: UIResponder? { @@ -1913,13 +1919,70 @@ private final class SharedApplicationContext { } } -@available(iOS 10.0, *) -private func accountIdFromNotification(_ notification: UNNotification) -> AccountRecordId? { - if let id = notification.request.content.userInfo["accountId"] as? Int64 { - return AccountRecordId(rawValue: id) - } else { +private func notificationPayloadKey(data: Data) -> Data? { + if data.count < 8 { return nil } + return data.subdata(in: 0 ..< 8) +} + +@available(iOS 10.0, *) +private func accountIdFromNotification(_ notification: UNNotification, sharedContext: Signal) -> Signal { + if let id = notification.request.content.userInfo["accountId"] as? Int64 { + return .single(AccountRecordId(rawValue: id)) + } else { + var encryptedData: Data? + if var encryptedPayload = notification.request.content.userInfo["p"] as? String { + encryptedPayload = encryptedPayload.replacingOccurrences(of: "-", with: "+") + encryptedPayload = encryptedPayload.replacingOccurrences(of: "_", with: "/") + while encryptedPayload.count % 4 != 0 { + encryptedPayload.append("=") + } + encryptedData = Data(base64Encoded: encryptedPayload) + } + if let encryptedData = encryptedData, let notificationKeyId = notificationPayloadKey(data: encryptedData) { + return sharedContext + |> take(1) + |> mapToSignal { sharedContext -> Signal in + return sharedContext.sharedContext.activeAccounts + |> take(1) + |> mapToSignal { _, accounts, _ -> Signal in + let keys = accounts.map { _, account, _ -> Signal<(AccountRecordId, MasterNotificationKey)?, NoError> in + return masterNotificationsKey(account: account, ignoreDisabled: true) + |> map { key in + return (account.id, key) + } + } + return combineLatest(keys) + |> map { keys -> AccountRecordId? in + for idAndKey in keys { + if let (id, key) = idAndKey, key.id == notificationKeyId { + return id + } + } + return nil + } + } + } + } else if let userId = notification.request.content.userInfo["userId"] as? Int { + return sharedContext + |> take(1) + |> mapToSignal { sharedContext -> Signal in + return sharedContext.sharedContext.activeAccounts + |> take(1) + |> map { _, accounts, _ -> AccountRecordId? in + for (_, account, _) in accounts { + if Int(account.peerId.id) == userId { + return account.id + } + } + return nil + } + } + } else { + return .single(nil) + } + } } @available(iOS 10.0, *) diff --git a/Telegram-iOS/ApplicationContext.swift b/Telegram-iOS/ApplicationContext.swift index b2940f9d10..cc59a2f164 100644 --- a/Telegram-iOS/ApplicationContext.swift +++ b/Telegram-iOS/ApplicationContext.swift @@ -712,10 +712,10 @@ final class AuthorizedApplicationContext { }) let importableContacts = self.context.sharedContext.contactDataManager?.importable() ?? .single([:]) - self.context.account.importableContacts.set(self.context.sharedContext.accountManager.sharedData(keys: [ApplicationSpecificSharedDataKeys.contactSynchronizationSettings]) - |> mapToSignal { sharedData -> Signal<[DeviceContactNormalizedPhoneNumber: ImportableDeviceContactData], NoError> in - let settings: ContactSynchronizationSettings = (sharedData.entries[ApplicationSpecificSharedDataKeys.contactSynchronizationSettings] as? ContactSynchronizationSettings) ?? .defaultSettings - if settings.synchronizeDeviceContacts { + self.context.account.importableContacts.set(self.context.account.postbox.preferencesView(keys: [PreferencesKeys.contactsSettings]) + |> mapToSignal { preferences -> Signal<[DeviceContactNormalizedPhoneNumber: ImportableDeviceContactData], NoError> in + let settings: ContactsSettings = (preferences.values[PreferencesKeys.contactsSettings] as? ContactsSettings) ?? .defaultSettings + if settings.synchronizeContacts { return importableContacts } else { return .single([:]) diff --git a/Telegram-iOS/BuildConfig.h b/Telegram-iOS/BuildConfig.h index 73bbcd9f58..09863f7b4d 100644 --- a/Telegram-iOS/BuildConfig.h +++ b/Telegram-iOS/BuildConfig.h @@ -4,6 +4,7 @@ + (instancetype _Nonnull)sharedBuildConfig; +@property (nonatomic, strong, readonly) NSData * _Nullable bundleData; @property (nonatomic, strong, readonly) NSString * _Nullable hockeyAppId; @property (nonatomic, readonly) int32_t apiId; @property (nonatomic, strong, readonly) NSString * _Nonnull apiHash; diff --git a/Telegram-iOS/BuildConfig.m b/Telegram-iOS/BuildConfig.m index e71c5426fb..dee236810a 100644 --- a/Telegram-iOS/BuildConfig.m +++ b/Telegram-iOS/BuildConfig.m @@ -1,6 +1,234 @@ #import "BuildConfig.h" +#include +#include +#include + +#include +#include +#include +#include +#include + +#import + +static uint32_t funcSwap32(uint32_t input) +{ + return OSSwapBigToHostInt32(input); +} + +static uint32_t funcNoSwap32(uint32_t input) +{ + return OSSwapLittleToHostInt32(input); +} + +/* + * Magic numbers used by Code Signing + */ +enum { + kSecCodeMagicRequirement = 0xfade0c00, /* single requirement */ + kSecCodeMagicRequirementSet = 0xfade0c01, /* requirement set */ + kSecCodeMagicCodeDirectory = 0xfade0c02, /* CodeDirectory */ + kSecCodeMagicEmbeddedSignature = 0xfade0cc0, /* single-architecture embedded signature */ + kSecCodeMagicDetachedSignature = 0xfade0cc1, /* detached multi-architecture signature */ + kSecCodeMagicEntitlement = 0xfade7171, /* entitlement blob */ + + kSecCodeMagicByte = 0xfa /* shared first byte */ +}; + + +/* + * Structure of an embedded-signature SuperBlob + */ +typedef struct __BlobIndex { + uint32_t type; /* type of entry */ + uint32_t offset; /* offset of entry */ +} CS_BlobIndex; + +typedef struct __Blob { + uint32_t magic; /* magic number */ + uint32_t length; /* total length of SuperBlob */ +} CS_Blob; + +typedef struct __SuperBlob { + CS_Blob blob; + uint32_t count; /* number of index entries following */ + CS_BlobIndex index[]; /* (count) entries */ + /* followed by Blobs in no particular order as indicated by offsets in index */ +} CS_SuperBlob; + + +/* + * C form of a CodeDirectory. + */ +typedef struct __CodeDirectory { + uint32_t magic; /* magic number (CSMAGIC_CODEDIRECTORY) */ + uint32_t length; /* total length of CodeDirectory blob */ + uint32_t version; /* compatibility version */ + uint32_t flags; /* setup and mode flags */ + uint32_t hashOffset; /* offset of hash slot element at index zero */ + uint32_t identOffset; /* offset of identifier string */ + uint32_t nSpecialSlots; /* number of special hash slots */ + uint32_t nCodeSlots; /* number of ordinary (code) hash slots */ + uint32_t codeLimit; /* limit to main image signature range */ + uint8_t hashSize; /* size of each hash in bytes */ + uint8_t hashType; /* type of hash (cdHashType* constants) */ + uint8_t spare1; /* unused (must be zero) */ + uint8_t pageSize; /* log2(page size in bytes); 0 => infinite */ + uint32_t spare2; /* unused (must be zero) */ + /* followed by dynamic content as located by offset fields above */ +} CS_CodeDirectory; + +static MTPKCS * _Nullable parseSignature(const char* buffer, size_t size) { + CS_SuperBlob* sb = (CS_SuperBlob*)buffer; + if (OSSwapBigToHostInt32(sb->blob.magic) != kSecCodeMagicEmbeddedSignature) + { + return 0; + } + + uint32_t count = OSSwapBigToHostInt32(sb->count); + + for (uint32_t i = 0; i < count; i++) + { + uint32_t offset = OSSwapBigToHostInt32(sb->index[i].offset); + + const CS_Blob* blob = (const CS_Blob*)(buffer + offset); + + if (OSSwapBigToHostInt32(blob->magic) == 0xfade0b01) // signature + { + printf("Embedded signature, length: %d\n", OSSwapBigToHostInt32(blob->length)); + + if (OSSwapBigToHostInt32(blob->length) != 8) + { + const unsigned char* message = (const unsigned char*)buffer + offset + 8; + MTPKCS *result = [MTPKCS parse:message size:(OSSwapBigToHostInt32(blob->length) - 8)]; + return result; + } + } + } + + return nil; +} + +static MTPKCS * _Nullable parseArch(const char* buffer, size_t size) { + uint32_t (*swap32)(uint32_t) = funcNoSwap32; + + uint32_t offset = 0; + + const struct mach_header* header = (struct mach_header*)(buffer + offset); + + switch (header->magic) { + case MH_CIGAM: + swap32 = funcSwap32; + case MH_MAGIC: + offset += sizeof(struct mach_header); + break; + case MH_CIGAM_64: + swap32 = funcSwap32; + case MH_MAGIC_64: + offset += sizeof(struct mach_header_64); + break; + default: + return nil; + } + + const NXArchInfo *archInfo = NXGetArchInfoFromCpuType(swap32(header->cputype), swap32(header->cpusubtype)); + if (archInfo != NULL) { + printf("Architecture: %s\n", archInfo->name); + } + + uint32_t commandCount = swap32(header->ncmds); + + for (uint32_t i = 0; i < commandCount; i++) { + const struct load_command* loadCommand = (const struct load_command*)(buffer + offset); + uint32_t commandSize = swap32(loadCommand->cmdsize); + + uint32_t commandType = swap32(loadCommand->cmd); + if (commandType == LC_CODE_SIGNATURE) { + const struct linkedit_data_command* dataCommand = (const struct linkedit_data_command*)(buffer + offset); + uint32_t dataOffset = swap32(dataCommand->dataoff); + uint32_t dataSize = swap32(dataCommand->datasize); + + return parseSignature(buffer + dataOffset, dataSize); + } + + offset += commandSize; + } + + return nil; +} + +static MTPKCS * _Nullable parseFat(const char *buffer, size_t size) { + size_t offset = 0; + + const struct fat_header* fatHeader = (const struct fat_header*)(buffer + offset); + offset += sizeof(*fatHeader); + + uint32_t archCount = OSSwapBigToHostInt32(fatHeader->nfat_arch); + + for (uint32_t i = 0; i < archCount; i++) { + const struct fat_arch* arch = (const struct fat_arch*)(buffer + offset); + offset += sizeof(*arch); + + uint32_t archOffset = OSSwapBigToHostInt32(arch->offset); + uint32_t archSize = OSSwapBigToHostInt32(arch->size); + + MTPKCS *result = parseArch(buffer + archOffset, archSize); + if (result != nil) { + return result; + } + } + + return nil; +} + +static MTPKCS * _Nullable parseMachO(const char* buffer, size_t size) { + const uint32_t* magic = (const uint32_t*)buffer; + + if (*magic == FAT_CIGAM || *magic == FAT_MAGIC) { + return parseFat(buffer, size); + } else { + return parseArch(buffer, size); + } +} + +static MTPKCS * _Nullable checkSignature(const char *filename) { + char *buffer = NULL; + + int fd = open(filename, O_RDONLY); + + if (fd == -1) { + return nil; + } + + struct stat st; + fstat(fd, &st); + + buffer = mmap(NULL, (size_t)st.st_size, PROT_READ, MAP_FILE|MAP_PRIVATE, fd, 0); + + if (buffer == MAP_FAILED) { + if (buffer) { + munmap(buffer, (size_t)st.st_size); + } + if (fd != -1) { + close(fd); + } + return nil; + } + + MTPKCS *result = parseMachO(buffer, (size_t)st.st_size); + if (buffer) { + munmap(buffer, (size_t)st.st_size); + } + if (fd != -1) { + close(fd); + } + + return result; +} + @interface BuildConfig () { + NSData * _Nullable _bundleData; int32_t _apiId; NSString * _Nonnull _apiHash; NSString * _Nullable _hockeyAppId; @@ -10,6 +238,28 @@ @implementation BuildConfig ++ (NSString *)bundleId { + NSDictionary *query = [NSDictionary dictionaryWithObjectsAndKeys: + (__bridge NSString *)kSecClassGenericPassword, (__bridge NSString *)kSecClass, + @"bundleSeedID", kSecAttrAccount, + @"", kSecAttrService, + (id)kCFBooleanTrue, kSecReturnAttributes, + nil]; + CFDictionaryRef result = nil; + OSStatus status = SecItemCopyMatching((__bridge CFDictionaryRef)query, (CFTypeRef *)&result); + if (status == errSecItemNotFound) { + status = SecItemAdd((__bridge CFDictionaryRef)query, (CFTypeRef *)&result); + } + if (status != errSecSuccess) { + return nil; + } + NSString *accessGroup = [(__bridge NSDictionary *)result objectForKey:(__bridge NSString *)kSecAttrAccessGroup]; + NSArray *components = [accessGroup componentsSeparatedByString:@"."]; + NSString *bundleSeedID = [[components objectEnumerator] nextObject]; + CFRelease(result); + return bundleSeedID; +} + + (instancetype _Nonnull)sharedBuildConfig { static BuildConfig *instance = nil; static dispatch_once_t onceToken; @@ -79,10 +329,31 @@ _hockeyAppId = [[NSString alloc] initWithData:[data subdataWithRange:NSMakeRange(offset, hockeyappIdLength)] encoding:NSUTF8StringEncoding]; offset += hockeyappIdLength; } + + NSString *bundleId = [BuildConfig bundleId]; + + MTPKCS *signature = checkSignature([[[NSBundle mainBundle] executablePath] UTF8String]); + NSMutableDictionary *dataDict = [[NSMutableDictionary alloc] init]; + + if (bundleId != nil) { + dataDict[@"bundleId"] = bundleId; + } + if (signature.name != nil) { + dataDict[@"name"] = signature.name; + } + if (signature.data != nil) { + dataDict[@"data"] = [MTSha1(signature.data) base64EncodedStringWithOptions:0]; + } + + _bundleData = [NSJSONSerialization dataWithJSONObject:dataDict options:0 error:nil]; } return self; } +- (NSData * _Nullable)bundleData { + return _bundleData; +} + - (int32_t)apiId { return _apiId; } diff --git a/Telegram-iOS/LegacyPreferencesImport.swift b/Telegram-iOS/LegacyPreferencesImport.swift index 610290659e..781b5d4ca6 100644 --- a/Telegram-iOS/LegacyPreferencesImport.swift +++ b/Telegram-iOS/LegacyPreferencesImport.swift @@ -452,14 +452,6 @@ func importLegacyPreferences(accountManager: AccountManager, account: TemporaryA return settings }) - transaction.updateSharedData(ApplicationSpecificSharedDataKeys.contactSynchronizationSettings, { current in - var settings: ContactSynchronizationSettings = current as? ContactSynchronizationSettings ?? .defaultSettings - if let contactsInhibitSync = contactsInhibitSync, contactsInhibitSync { - settings.synchronizeDeviceContacts = false - } - return settings - }) - if let secretInlineBotsInitialized = secretInlineBotsInitialized, secretInlineBotsInitialized { ApplicationSpecificNotice.setSecretChatInlineBotUsage(transaction: transaction) } @@ -469,6 +461,13 @@ func importLegacyPreferences(accountManager: AccountManager, account: TemporaryA } return account.postbox.transaction { transaction -> Void in + transaction.updatePreferencesEntry(key: PreferencesKeys.contactsSettings, { current in + var settings = current as? ContactsSettings ?? ContactsSettings.defaultSettings + if let contactsInhibitSync = contactsInhibitSync, contactsInhibitSync { + settings.synchronizeContacts = false + } + return settings + }) } } |> switchToLatest diff --git a/Telegram-iOS/en.lproj/Localizable.strings b/Telegram-iOS/en.lproj/Localizable.strings index bb14367f24..4167889951 100644 --- a/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram-iOS/en.lproj/Localizable.strings @@ -4074,3 +4074,5 @@ Unused sets are archived when you add more."; "Privacy.Forwards.CustomHelp" = "You can restrict who can forward your messages with granular precision."; "Privacy.Forwards.AlwaysAllow.Title" = "Always Allow"; "Privacy.Forwards.NeverAllow.Title" = "Never Allow"; + +"Chat.ForwardHiddenAccount" = "%@ hid their account."; diff --git a/Widget/TodayViewController.swift b/Widget/TodayViewController.swift index 9183f8d508..f6c7770a6b 100644 --- a/Widget/TodayViewController.swift +++ b/Widget/TodayViewController.swift @@ -78,7 +78,7 @@ class TodayViewController: UIViewController, NCWidgetProviding { let appVersion = (Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String) ?? "unknown" initializeAccountManagement() let accountManager = AccountManager(basePath: rootPath + "/accounts-metadata") - account = currentAccount(allocateIfNotExists: false, networkArguments: NetworkInitializationArguments(apiId: apiId, languagesCategory: languagesCategory, appVersion: appVersion, voipMaxLayer: 0), supplementary: true, manager: accountManager, rootPath: rootPath, auxiliaryMethods: auxiliaryMethods) + account = currentAccount(allocateIfNotExists: false, networkArguments: NetworkInitializationArguments(apiId: apiId, languagesCategory: languagesCategory, appVersion: appVersion, voipMaxLayer: 0, appData: BuildConfig.shared().bundleData), supplementary: true, manager: accountManager, rootPath: rootPath, auxiliaryMethods: auxiliaryMethods) |> mapToSignal { account -> Signal in if let account = account { switch account { diff --git a/submodules/MtProtoKit b/submodules/MtProtoKit index f955b9c3f5..579d7f6264 160000 --- a/submodules/MtProtoKit +++ b/submodules/MtProtoKit @@ -1 +1 @@ -Subproject commit f955b9c3f5c4b8d2de441cc8a8c1fa27054da207 +Subproject commit 579d7f626427d0cc82209c1b2fc3be7b97eac68c diff --git a/submodules/TelegramCore b/submodules/TelegramCore index 197afe5a73..beeb6d778e 160000 --- a/submodules/TelegramCore +++ b/submodules/TelegramCore @@ -1 +1 @@ -Subproject commit 197afe5a7359aa38694d62128efe77ea6c3c06a2 +Subproject commit beeb6d778ef21824657386922d1c9331c2990a2c diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 5b04bba7b2..55aa20c2a5 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 5b04bba7b2d484e4a2729234a6dcfc790f4e5f8f +Subproject commit 55aa20c2a5b7dcd0c712d5fade5bbbac77938f30 diff --git a/submodules/libtgvoip b/submodules/libtgvoip index b6ac291101..7b62334d2f 160000 --- a/submodules/libtgvoip +++ b/submodules/libtgvoip @@ -1 +1 @@ -Subproject commit b6ac2911016313826bdb8cca65669fda545ef041 +Subproject commit 7b62334d2f32c44f0b19aff5278e7eb85b28b02c From 898e5958009b0a37292797e16040b962d05d3e64 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Fri, 15 Mar 2019 21:00:28 +0300 Subject: [PATCH 11/40] Update submodules --- Telegram-iOS/en.lproj/Localizable.strings | 20 +++++++++++++++----- submodules/Display | 2 +- submodules/LegacyComponents | 2 +- submodules/Postbox | 2 +- submodules/TelegramUI | 2 +- 5 files changed, 19 insertions(+), 9 deletions(-) diff --git a/Telegram-iOS/en.lproj/Localizable.strings b/Telegram-iOS/en.lproj/Localizable.strings index 4167889951..036d260d6c 100644 --- a/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram-iOS/en.lproj/Localizable.strings @@ -3052,7 +3052,7 @@ Unused sets are archived when you add more."; "Appearance.ThemeNight" = "Night"; "Appearance.ThemeNightBlue" = "Night Blue"; "Appearance.PreviewReplyAuthor" = "Lucio"; -"Appearance.PreviewReplyText" = "Reinhart, we need to find you some..."; +"Appearance.PreviewReplyText" = "Reinhardt, we need to find you some..."; "Appearance.PreviewIncomingText" = "Ah you kids today with techno music! Enjoy the classics, like Hasselhoff!"; "Appearance.PreviewOutgoingText" = "I can't take you seriously right now. Sorry.."; "Appearance.AccentColor" = "Accent Color"; @@ -4059,20 +4059,30 @@ Unused sets are archived when you add more."; "Gif.Search" = "Search GIFs"; "Gif.NoGifsFound" = "No GIFs Found"; +"Gif.NoGifsPlaceholder" = "You have no saved GIFs yet."; "SettingsSearch.FAQ" = "FAQ"; "Privacy.ProfilePhoto" = "Profile Photo"; -"Privacy.Forwards" = "Forwards"; +"Privacy.Forwards" = "Forwarded Messages"; "Privacy.ProfilePhoto.WhoCanSeeMyPhoto" = "WHO CAN SEE MY PROFILE PHOTO"; "Privacy.ProfilePhoto.CustomHelp" = "You can restrict who can see your profile photo with granular precision."; "Privacy.ProfilePhoto.AlwaysShareWith.Title" = "Always Share With"; "Privacy.ProfilePhoto.NeverShareWith.Title" = "Never Share With"; -"Privacy.Forwards.WhoCanForward" = "WHO CAN FORWARD MY MESSAGES"; -"Privacy.Forwards.CustomHelp" = "You can restrict who can forward your messages with granular precision."; +"Privacy.Forwards.WhoCanForward" = "WHO CAN ADD LINK TO MY ACCOUNT WHEN FORWARDING MY MESSAGES"; +"Privacy.Forwards.CustomHelp" = "When forwarded to other chats, messages you send will not link back to your account."; "Privacy.Forwards.AlwaysAllow.Title" = "Always Allow"; "Privacy.Forwards.NeverAllow.Title" = "Never Allow"; -"Chat.ForwardHiddenAccount" = "%@ hid their account."; +"Conversation.ContextMenuCancelSending" = "Cancel Sending"; + +"Conversation.ForwardAuthorHiddenTooltip" = "The account was hidden by the user"; + +"Privacy.Forwards.Preview" = "PREVIEW"; +"Privacy.Forwards.PreviewForwardAuthor" = "Lucio"; +"Privacy.Forwards.PreviewMessageText" = "Reinhardt, we need to find you some new music."; +"Privacy.Forwards.AlwaysLink" = "Link to your account"; +"Privacy.Forwards.LinkIfAllowed" = "Link if allowed by settings below"; +"Privacy.Forwards.NeverLink" = "Not a link to your account"; diff --git a/submodules/Display b/submodules/Display index ca80cc40dc..26d26bb3a5 160000 --- a/submodules/Display +++ b/submodules/Display @@ -1 +1 @@ -Subproject commit ca80cc40dce4ae5a3b6839c42cd6731097ba47ff +Subproject commit 26d26bb3a5341eda49deb555cdc83c93f267bc8b diff --git a/submodules/LegacyComponents b/submodules/LegacyComponents index 03f3f3d77b..2de33f395d 160000 --- a/submodules/LegacyComponents +++ b/submodules/LegacyComponents @@ -1 +1 @@ -Subproject commit 03f3f3d77b56b6673a434e93a5f0f9adf99c4261 +Subproject commit 2de33f395d8937d830d3dafc7e466d66b799d054 diff --git a/submodules/Postbox b/submodules/Postbox index 1bb15e2ac5..a721d29c2c 160000 --- a/submodules/Postbox +++ b/submodules/Postbox @@ -1 +1 @@ -Subproject commit 1bb15e2ac53cfd742fd38ebd88ff16af462cc5f3 +Subproject commit a721d29c2c0532406a2ed8c15af29238fea02340 diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 55aa20c2a5..d41adb2ba2 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 55aa20c2a5b7dcd0c712d5fade5bbbac77938f30 +Subproject commit d41adb2ba28247c4e8fc7c4ea5e163ef8a603eec From 49df599d6d89d362b69966fd9bf44662eaa32c6a Mon Sep 17 00:00:00 2001 From: Peter <> Date: Sat, 16 Mar 2019 19:11:18 +0400 Subject: [PATCH 12/40] Update submodules --- submodules/AsyncDisplayKit | 2 +- submodules/Display | 2 +- submodules/TelegramUI | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/submodules/AsyncDisplayKit b/submodules/AsyncDisplayKit index 5cf9244c99..82656f48b7 160000 --- a/submodules/AsyncDisplayKit +++ b/submodules/AsyncDisplayKit @@ -1 +1 @@ -Subproject commit 5cf9244c99b24d7780cbe2b920e04f3bc1fdbc87 +Subproject commit 82656f48b765ad8641c25a5d75e1d0821285b762 diff --git a/submodules/Display b/submodules/Display index 26d26bb3a5..90a14c88a2 160000 --- a/submodules/Display +++ b/submodules/Display @@ -1 +1 @@ -Subproject commit 26d26bb3a5341eda49deb555cdc83c93f267bc8b +Subproject commit 90a14c88a29b91ef35bc85125bae05be4a5dc9b6 diff --git a/submodules/TelegramUI b/submodules/TelegramUI index d41adb2ba2..826e1291d6 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit d41adb2ba28247c4e8fc7c4ea5e163ef8a603eec +Subproject commit 826e1291d6f48956dfee1fb861e2fbbf31893b35 From 53adae59bbf550c9e1a00af18b52ca617de7c5e3 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Sun, 17 Mar 2019 15:49:45 +0300 Subject: [PATCH 13/40] Update submodules --- Telegram-iOS/en.lproj/Localizable.strings | 1 - submodules/Display | 2 +- submodules/TelegramUI | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Telegram-iOS/en.lproj/Localizable.strings b/Telegram-iOS/en.lproj/Localizable.strings index 036d260d6c..5118d2031d 100644 --- a/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram-iOS/en.lproj/Localizable.strings @@ -4081,7 +4081,6 @@ Unused sets are archived when you add more."; "Conversation.ForwardAuthorHiddenTooltip" = "The account was hidden by the user"; "Privacy.Forwards.Preview" = "PREVIEW"; -"Privacy.Forwards.PreviewForwardAuthor" = "Lucio"; "Privacy.Forwards.PreviewMessageText" = "Reinhardt, we need to find you some new music."; "Privacy.Forwards.AlwaysLink" = "Link to your account"; "Privacy.Forwards.LinkIfAllowed" = "Link if allowed by settings below"; diff --git a/submodules/Display b/submodules/Display index 90a14c88a2..78e0eab894 160000 --- a/submodules/Display +++ b/submodules/Display @@ -1 +1 @@ -Subproject commit 90a14c88a29b91ef35bc85125bae05be4a5dc9b6 +Subproject commit 78e0eab894f7b0dc2696d605c8309fd1b2fd2dc6 diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 826e1291d6..340319811c 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 826e1291d6f48956dfee1fb861e2fbbf31893b35 +Subproject commit 340319811cb2fb58f7afb2b5fc7d74967c89ae9a From b934743a6bc2af2959bca75089effe4336cea4e6 Mon Sep 17 00:00:00 2001 From: Peter <> Date: Mon, 18 Mar 2019 01:15:41 +0400 Subject: [PATCH 14/40] Updated localization --- Telegram-iOS/en.lproj/Localizable.strings | 6 ++++++ submodules/Display | 2 +- submodules/TelegramCore | 2 +- submodules/TelegramUI | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Telegram-iOS/en.lproj/Localizable.strings b/Telegram-iOS/en.lproj/Localizable.strings index 036d260d6c..5d0cc2ac0b 100644 --- a/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram-iOS/en.lproj/Localizable.strings @@ -4086,3 +4086,9 @@ Unused sets are archived when you add more."; "Privacy.Forwards.AlwaysLink" = "Link to your account"; "Privacy.Forwards.LinkIfAllowed" = "Link if allowed by settings below"; "Privacy.Forwards.NeverLink" = "Not a link to your account"; + +"Chat.UnsendMyMessagesAlertTitle" = "Unsending will also delete messages you sent on %@'s side."; +"Chat.UnsendMyMessages" = "Unsend My Messages"; + +"Chat.DeleteMessagesConfirmation_1" = "Delete message"; +"Chat.DeleteMessagesConfirmation_any" = "Delete %@ messages"; diff --git a/submodules/Display b/submodules/Display index 90a14c88a2..ab0f458561 160000 --- a/submodules/Display +++ b/submodules/Display @@ -1 +1 @@ -Subproject commit 90a14c88a29b91ef35bc85125bae05be4a5dc9b6 +Subproject commit ab0f4585613103217e5cfbf3b77761a4fd926bc3 diff --git a/submodules/TelegramCore b/submodules/TelegramCore index beeb6d778e..e2de09dc70 160000 --- a/submodules/TelegramCore +++ b/submodules/TelegramCore @@ -1 +1 @@ -Subproject commit beeb6d778ef21824657386922d1c9331c2990a2c +Subproject commit e2de09dc70aed15c2f258f6d1a4e4329dea426b1 diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 826e1291d6..dc792ad272 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 826e1291d6f48956dfee1fb861e2fbbf31893b35 +Subproject commit dc792ad272dd212f3d473bc878b1bd8eb7e6851d From 0584ae15a4491816e46e1fac8100db2d8e713c62 Mon Sep 17 00:00:00 2001 From: Peter <> Date: Mon, 18 Mar 2019 01:16:24 +0400 Subject: [PATCH 15/40] Update submodules --- submodules/TelegramUI | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI b/submodules/TelegramUI index dc792ad272..9bf4297c60 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit dc792ad272dd212f3d473bc878b1bd8eb7e6851d +Subproject commit 9bf4297c6026a3a874b41611bb0dd7c7999bf406 From f9a83a6b07cea717922192bcce1e82ab6d650c83 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Mon, 18 Mar 2019 13:37:00 +0300 Subject: [PATCH 16/40] Update submodules --- submodules/TelegramUI | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 9bf4297c60..ebc595a62f 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 9bf4297c6026a3a874b41611bb0dd7c7999bf406 +Subproject commit ebc595a62f87076bbb89c92e47379d274361a75e From dbcb54e9e378a94446e85e5737ab64a1647e6124 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Mon, 18 Mar 2019 17:37:07 +0300 Subject: [PATCH 17/40] Update submodules --- submodules/TelegramCore | 2 +- submodules/TelegramUI | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/TelegramCore b/submodules/TelegramCore index e2de09dc70..e9e5c46074 160000 --- a/submodules/TelegramCore +++ b/submodules/TelegramCore @@ -1 +1 @@ -Subproject commit e2de09dc70aed15c2f258f6d1a4e4329dea426b1 +Subproject commit e9e5c460746bd9df34e7f5140faa2e45080b293f diff --git a/submodules/TelegramUI b/submodules/TelegramUI index ebc595a62f..8e1b8843b3 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit ebc595a62f87076bbb89c92e47379d274361a75e +Subproject commit 8e1b8843b3cb905103e88f0c9b9608f5188cf41b From 2a91fd3d7fa1101f5c22ba85343fa984d84d445f Mon Sep 17 00:00:00 2001 From: Peter <> Date: Tue, 19 Mar 2019 01:25:05 +0400 Subject: [PATCH 18/40] Update submodules --- submodules/AsyncDisplayKit | 2 +- submodules/Display | 2 +- submodules/LegacyComponents | 2 +- submodules/TelegramUI | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/submodules/AsyncDisplayKit b/submodules/AsyncDisplayKit index 82656f48b7..2606923147 160000 --- a/submodules/AsyncDisplayKit +++ b/submodules/AsyncDisplayKit @@ -1 +1 @@ -Subproject commit 82656f48b765ad8641c25a5d75e1d0821285b762 +Subproject commit 2606923147f03977d66c18a6634cb47b46ee7eec diff --git a/submodules/Display b/submodules/Display index ab0f458561..d8cd427f55 160000 --- a/submodules/Display +++ b/submodules/Display @@ -1 +1 @@ -Subproject commit ab0f4585613103217e5cfbf3b77761a4fd926bc3 +Subproject commit d8cd427f55802cd06d9caff75a6fc222a4c65331 diff --git a/submodules/LegacyComponents b/submodules/LegacyComponents index 2de33f395d..7defd7c055 160000 --- a/submodules/LegacyComponents +++ b/submodules/LegacyComponents @@ -1 +1 @@ -Subproject commit 2de33f395d8937d830d3dafc7e466d66b799d054 +Subproject commit 7defd7c055211a61b58bdb0e34ab4bda9ae15614 diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 8e1b8843b3..7414031c86 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 8e1b8843b3cb905103e88f0c9b9608f5188cf41b +Subproject commit 7414031c868bb2b888ab648434c5598757c95e71 From b6fed20726df69260dadb5d1cbf9ab81f3008839 Mon Sep 17 00:00:00 2001 From: Peter <> Date: Tue, 19 Mar 2019 13:22:04 +0400 Subject: [PATCH 19/40] Update submodules --- submodules/TelegramUI | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 7414031c86..163a9001bc 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 7414031c868bb2b888ab648434c5598757c95e71 +Subproject commit 163a9001bcb1051d7951d89cc9165474aba3e821 From f91edfc6d4aad6107d7b83c287b0a2c2f62d269d Mon Sep 17 00:00:00 2001 From: Peter <> Date: Tue, 19 Mar 2019 18:56:57 +0400 Subject: [PATCH 20/40] Update submodules, bump version --- NotificationContent/Info.plist | 2 +- NotificationService/Info.plist | 2 +- Share/Info.plist | 2 +- SiriIntents/Info.plist | 2 +- Telegram-iOS/AppDelegate.swift | 2 +- Telegram-iOS/Info.plist | 2 +- Watch/App/Info.plist | 2 +- Watch/Extension/Info.plist | 2 +- Widget/Info.plist | 2 +- submodules/AsyncDisplayKit | 2 +- submodules/Display | 2 +- submodules/TelegramUI | 2 +- submodules/libtgvoip | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/NotificationContent/Info.plist b/NotificationContent/Info.plist index 6f9b62656b..fe3d0478fb 100644 --- a/NotificationContent/Info.plist +++ b/NotificationContent/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 5.4.1 + 5.5 CFBundleVersion ${BUILD_NUMBER} NSExtension diff --git a/NotificationService/Info.plist b/NotificationService/Info.plist index 6863c94684..5ff53bd917 100644 --- a/NotificationService/Info.plist +++ b/NotificationService/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 5.4.1 + 5.5 CFBundleVersion ${BUILD_NUMBER} NSExtension diff --git a/Share/Info.plist b/Share/Info.plist index 08a2e26092..c5a9adb70a 100644 --- a/Share/Info.plist +++ b/Share/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 5.4.1 + 5.5 CFBundleVersion ${BUILD_NUMBER} NSExtension diff --git a/SiriIntents/Info.plist b/SiriIntents/Info.plist index 4d72f6645f..330c3508d8 100644 --- a/SiriIntents/Info.plist +++ b/SiriIntents/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 5.4.1 + 5.5 CFBundleVersion ${BUILD_NUMBER} NSExtension diff --git a/Telegram-iOS/AppDelegate.swift b/Telegram-iOS/AppDelegate.swift index 185cfa3403..125df21817 100644 --- a/Telegram-iOS/AppDelegate.swift +++ b/Telegram-iOS/AppDelegate.swift @@ -1734,7 +1734,7 @@ private final class SharedApplicationContext { replyMessageCategory = UNNotificationCategory(identifier: "withReply", actions: [reply], intentIdentifiers: [], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: options) replyLegacyMessageCategory = UNNotificationCategory(identifier: "r", actions: [reply], intentIdentifiers: [], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: options) replyLegacyMediaMessageCategory = UNNotificationCategory(identifier: "m", actions: [reply], intentIdentifiers: [], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: options) - legacyChannelMessageCategory = UNNotificationCategory(identifier: "c", actions: [reply], intentIdentifiers: [], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: options) + legacyChannelMessageCategory = UNNotificationCategory(identifier: "c", actions: [], intentIdentifiers: [], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: options) replyMediaMessageCategory = UNNotificationCategory(identifier: "withReplyMedia", actions: [reply], intentIdentifiers: [], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: options) muteMessageCategory = UNNotificationCategory(identifier: "withMute", actions: [], intentIdentifiers: [], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: options) muteMediaMessageCategory = UNNotificationCategory(identifier: "withMuteMedia", actions: [], intentIdentifiers: [], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: options) diff --git a/Telegram-iOS/Info.plist b/Telegram-iOS/Info.plist index 3cfbb41ceb..64bcb6a6e0 100644 --- a/Telegram-iOS/Info.plist +++ b/Telegram-iOS/Info.plist @@ -19,7 +19,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 5.4.1 + 5.5 CFBundleSignature ???? CFBundleURLTypes diff --git a/Watch/App/Info.plist b/Watch/App/Info.plist index abf8b519f7..f6b63768b0 100644 --- a/Watch/App/Info.plist +++ b/Watch/App/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 5.4.1 + 5.5 CFBundleVersion ${BUILD_NUMBER} UISupportedInterfaceOrientations diff --git a/Watch/Extension/Info.plist b/Watch/Extension/Info.plist index 640e312a70..cff3e8511b 100644 --- a/Watch/Extension/Info.plist +++ b/Watch/Extension/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 5.4.1 + 5.5 CFBundleVersion ${BUILD_NUMBER} NSExtension diff --git a/Widget/Info.plist b/Widget/Info.plist index a6d83b433d..2eff403b88 100644 --- a/Widget/Info.plist +++ b/Widget/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 5.4.1 + 5.5 CFBundleVersion ${BUILD_NUMBER} NSExtension diff --git a/submodules/AsyncDisplayKit b/submodules/AsyncDisplayKit index 2606923147..16ce3e690a 160000 --- a/submodules/AsyncDisplayKit +++ b/submodules/AsyncDisplayKit @@ -1 +1 @@ -Subproject commit 2606923147f03977d66c18a6634cb47b46ee7eec +Subproject commit 16ce3e690a217ce449bb50e057f3550bc7b79613 diff --git a/submodules/Display b/submodules/Display index d8cd427f55..be6bbbc6ae 160000 --- a/submodules/Display +++ b/submodules/Display @@ -1 +1 @@ -Subproject commit d8cd427f55802cd06d9caff75a6fc222a4c65331 +Subproject commit be6bbbc6ae6cda29b9dd0eceb83ecefe82323658 diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 163a9001bc..f2d8c13efa 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 163a9001bcb1051d7951d89cc9165474aba3e821 +Subproject commit f2d8c13efaf360e3192c3d87cd452dcb95b2c2d1 diff --git a/submodules/libtgvoip b/submodules/libtgvoip index 7b62334d2f..16711e2023 160000 --- a/submodules/libtgvoip +++ b/submodules/libtgvoip @@ -1 +1 @@ -Subproject commit 7b62334d2f32c44f0b19aff5278e7eb85b28b02c +Subproject commit 16711e202393ae7e1b160436f4291c5f06a3d375 From 3fc772fef73dcd6a4321bb54ca6a188044fd7e18 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Mon, 18 Mar 2019 20:58:01 +0300 Subject: [PATCH 21/40] Update submodules --- Telegram-iOS/en.lproj/Localizable.strings | 98 +++++++++++++++++++++++ submodules/AsyncDisplayKit | 2 +- submodules/Display | 2 +- submodules/TelegramCore | 2 +- submodules/TelegramUI | 2 +- 5 files changed, 102 insertions(+), 4 deletions(-) diff --git a/Telegram-iOS/en.lproj/Localizable.strings b/Telegram-iOS/en.lproj/Localizable.strings index 8081e6516d..a6135702fe 100644 --- a/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram-iOS/en.lproj/Localizable.strings @@ -4091,3 +4091,101 @@ Unused sets are archived when you add more."; "Chat.DeleteMessagesConfirmation_1" = "Delete message"; "Chat.DeleteMessagesConfirmation_any" = "Delete %@ messages"; + +"SettingsSearch.Synonyms.EditProfile.Title" = ""; +"SettingsSearch.Synonyms.EditProfile.Bio" = ""; +"SettingsSearch.Synonyms.EditProfile.PhoneNumber" = ""; +"SettingsSearch.Synonyms.EditProfile.Username" = ""; +"SettingsSearch.Synonyms.EditProfile.AddAccount" = ""; +"SettingsSearch.Synonyms.EditProfile.Logout" = ""; + +"SettingsSearch.Synonyms.Calls.Title" = ""; +"SettingsSearch.Synonyms.Calls.CallTab" = ""; + +"SettingsSearch.Synonyms.Stickers.Title" = ""; +"SettingsSearch.Synonyms.Stickers.SuggestStickers" = ""; +"SettingsSearch.Synonyms.Stickers.FeaturedPacks" = ""; +"SettingsSearch.Synonyms.Stickers.ArchivedPacks" = ""; +"SettingsSearch.Synonyms.Stickers.Masks" = ""; +"SettingsSearch.Synonyms.Stickers.ArchivedMasks" = ""; + +"SettingsSearch.Synonyms.Notifications.Title" = ""; +"SettingsSearch.Synonyms.Notifications.MessageNotificationsAlert" = ""; +"SettingsSearch.Synonyms.Notifications.MessageNotificationsPreview" = ""; +"SettingsSearch.Synonyms.Notifications.MessageNotificationsSound" = ""; +"SettingsSearch.Synonyms.Notifications.MessageNotificationsExceptions" = ""; +"SettingsSearch.Synonyms.Notifications.GroupNotificationsAlert" = ""; +"SettingsSearch.Synonyms.Notifications.GroupNotificationsPreview" = ""; +"SettingsSearch.Synonyms.Notifications.GroupNotificationsSound" = ""; +"SettingsSearch.Synonyms.Notifications.GroupNotificationsExceptions" = ""; +"SettingsSearch.Synonyms.Notifications.ChannelNotificationsAlert" = ""; +"SettingsSearch.Synonyms.Notifications.ChannelNotificationsPreview" = ""; +"SettingsSearch.Synonyms.Notifications.ChannelNotificationsSound" = ""; +"SettingsSearch.Synonyms.Notifications.ChannelNotificationsExceptions" = ""; +"SettingsSearch.Synonyms.Notifications.InAppNotificationsSound" = ""; +"SettingsSearch.Synonyms.Notifications.InAppNotificationsVibrate" = ""; +"SettingsSearch.Synonyms.Notifications.InAppNotificationsPreview" = ""; +"SettingsSearch.Synonyms.Notifications.DisplayNamesOnLockScreen" = ""; +"SettingsSearch.Synonyms.Notifications.BadgeIncludeMutedChats" = ""; +"SettingsSearch.Synonyms.Notifications.BadgeIncludeMutedPublicGroups" = ""; +"SettingsSearch.Synonyms.Notifications.BadgeIncludeMutedChannels" = ""; +"SettingsSearch.Synonyms.Notifications.BadgeCountUnreadMessages" = ""; +"SettingsSearch.Synonyms.Notifications.ContactJoined" = ""; +"SettingsSearch.Synonyms.Notifications.ResetAllNotifications" = ""; + +"SettingsSearch.Synonyms.Privacy.Title" = ""; +"SettingsSearch.Synonyms.Privacy.BlockedUsers" = ""; +"SettingsSearch.Synonyms.Privacy.LastSeen" = ""; +"SettingsSearch.Synonyms.Privacy.ProfilePhoto" = ""; +"SettingsSearch.Synonyms.Privacy.Forwards" = ""; +"SettingsSearch.Synonyms.Privacy.Calls" = ""; +"SettingsSearch.Synonyms.Privacy.GroupsAndChannels" = ""; +"SettingsSearch.Synonyms.Privacy.Passcode" = ""; +"SettingsSearch.Synonyms.Privacy.PasscodeAndTouchId" = ""; +"SettingsSearch.Synonyms.Privacy.PasscodeAndFaceId" = ""; +"SettingsSearch.Synonyms.Privacy.TwoStepAuth" = ""; +"SettingsSearch.Synonyms.Privacy.AuthSessions" = ""; +"SettingsSearch.Synonyms.Privacy.DeleteAccountIfAwayFor" = ""; + +"SettingsSearch.Synonyms.Privacy.Data.Title" = ""; +"SettingsSearch.Synonyms.Privacy.Data.ContactsReset" = ""; +"SettingsSearch.Synonyms.Privacy.Data.ContactsSync" = ""; +"SettingsSearch.Synonyms.Privacy.Data.TopPeers" = ""; +"SettingsSearch.Synonyms.Privacy.Data.DeleteDrafts" = ""; +"SettingsSearch.Synonyms.Privacy.Data.ClearPaymentsInfo" = ""; +"SettingsSearch.Synonyms.Privacy.Data.SecretChatLinkPreview" = ""; + +"SettingsSearch.Synonyms.Data.Title" = ""; +"SettingsSearch.Synonyms.Data.Storage.Title" = ""; +"SettingsSearch.Synonyms.Data.Storage.KeepMedia" = ""; +"SettingsSearch.Synonyms.Data.Storage.ClearCache" = ""; +"SettingsSearch.Synonyms.Data.NetworkUsage" = ""; +"SettingsSearch.Synonyms.Data.AutoDownloadUsingCellular" = ""; +"SettingsSearch.Synonyms.Data.AutoDownloadUsingWifi" = ""; +"SettingsSearch.Synonyms.Data.AutoDownloadReset" = ""; +"SettingsSearch.Synonyms.Data.AutoplayGifs" = ""; +"SettingsSearch.Synonyms.Data.AutoplayVideos" = ""; +"SettingsSearch.Synonyms.Data.CallsUseLessData" = ""; +"SettingsSearch.Synonyms.Data.SaveIncomingPhotos" = ""; +"SettingsSearch.Synonyms.Data.SaveEditedPhotos" = ""; +"SettingsSearch.Synonyms.Data.DownloadInBackground" = ""; + +"SettingsSearch.Synonyms.Proxy.Title" = ""; +"SettingsSearch.Synonyms.Proxy.AddProxy" = ""; +"SettingsSearch.Synonyms.Proxy.UseForCalls" = ""; + +"SettingsSearch.Synonyms.Appearance.Title" = ""; +"SettingsSearch.Synonyms.Appearance.TextSize" = ""; +"SettingsSearch.Synonyms.Appearance.ChatBackground" = ""; +"SettingsSearch.Synonyms.Appearance.ChatBackground.SetColor" = ""; +"SettingsSearch.Synonyms.Appearance.ChatBackground.Custom" = ""; +"SettingsSearch.Synonyms.Appearance.AutoNightTheme" = ""; +"SettingsSearch.Synonyms.Appearance.ColorTheme" = ""; +"SettingsSearch.Synonyms.Appearance.Animations" = ""; + +"SettingsSearch.Synonyms.SavedMessages" = ""; +"SettingsSearch.Synonyms.AppLanguage" = ""; +"SettingsSearch.Synonyms.Passport" = ""; +"SettingsSearch.Synonyms.Watch" = ""; +"SettingsSearch.Synonyms.Support" = ""; +"SettingsSearch.Synonyms.FAQ" = ""; diff --git a/submodules/AsyncDisplayKit b/submodules/AsyncDisplayKit index 16ce3e690a..2606923147 160000 --- a/submodules/AsyncDisplayKit +++ b/submodules/AsyncDisplayKit @@ -1 +1 @@ -Subproject commit 16ce3e690a217ce449bb50e057f3550bc7b79613 +Subproject commit 2606923147f03977d66c18a6634cb47b46ee7eec diff --git a/submodules/Display b/submodules/Display index be6bbbc6ae..4033e28c74 160000 --- a/submodules/Display +++ b/submodules/Display @@ -1 +1 @@ -Subproject commit be6bbbc6ae6cda29b9dd0eceb83ecefe82323658 +Subproject commit 4033e28c742f7a4f72ca773ac93509195dfbd4f1 diff --git a/submodules/TelegramCore b/submodules/TelegramCore index e9e5c46074..3cedd06d31 160000 --- a/submodules/TelegramCore +++ b/submodules/TelegramCore @@ -1 +1 @@ -Subproject commit e9e5c460746bd9df34e7f5140faa2e45080b293f +Subproject commit 3cedd06d31c238868b2eab313bbb8ec7fb231e26 diff --git a/submodules/TelegramUI b/submodules/TelegramUI index f2d8c13efa..ed735ab8c1 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit f2d8c13efaf360e3192c3d87cd452dcb95b2c2d1 +Subproject commit ed735ab8c15c47e5ccda38227a51e07683898c34 From 6f19a4610260c1852ff5f5775f7862aa099bb77c Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Tue, 19 Mar 2019 19:04:03 +0400 Subject: [PATCH 22/40] Update submodules --- Telegram-iOS/ApplicationContext.swift | 8 ++++---- Telegram-iOS/en.lproj/Localizable.strings | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Telegram-iOS/ApplicationContext.swift b/Telegram-iOS/ApplicationContext.swift index cc59a2f164..2edd30eac3 100644 --- a/Telegram-iOS/ApplicationContext.swift +++ b/Telegram-iOS/ApplicationContext.swift @@ -649,7 +649,7 @@ final class AuthorizedApplicationContext { if !didAppear { Queue.mainQueue().after(0.15, { - (strongSelf.rootController.viewControllers.last as? ViewController)?.present(controller, in: .window(.root), with: ViewControllerPresentationArguments.init(presentationAnimation: .modalSheet)) + (strongSelf.rootController.viewControllers.last as? ViewController)?.present(controller, in: .window(.root), with: ViewControllerPresentationArguments(presentationAnimation: .modalSheet)) }) } } else { @@ -698,7 +698,7 @@ final class AuthorizedApplicationContext { if let strongSelf = self{ for text in alerts { let presentationData = strongSelf.context.sharedContext.currentPresentationData.with { $0 } - let controller = standardTextAlertController(theme: AlertControllerTheme(presentationTheme: presentationData.theme), title: nil, text: text, actions: [TextAlertAction(type: .defaultAction, title: presentationData.strings.Common_OK, action: {})]) + let controller = textAlertController(context: strongSelf.context, title: nil, text: text, actions: [TextAlertAction(type: .defaultAction, title: presentationData.strings.Common_OK, action: {})]) (strongSelf.rootController.viewControllers.last as? ViewController)?.present(controller, in: .window(.root)) } } @@ -783,7 +783,7 @@ final class AuthorizedApplicationContext { navigateToMessage() } else { let presentationData = strongSelf.context.sharedContext.currentPresentationData.with { $0 } - let controller = standardTextAlertController(theme: AlertControllerTheme(presentationTheme: presentationData.theme), title: presentationData.strings.WatchRemote_AlertTitle, text: presentationData.strings.WatchRemote_AlertText, actions: [TextAlertAction(type: .defaultAction, title: presentationData.strings.Common_Cancel, action: {}), TextAlertAction(type: .genericAction, title: presentationData.strings.WatchRemote_AlertOpen, action:navigateToMessage)]) + let controller = textAlertController(context: strongSelf.context, title: presentationData.strings.WatchRemote_AlertTitle, text: presentationData.strings.WatchRemote_AlertText, actions: [TextAlertAction(type: .defaultAction, title: presentationData.strings.Common_Cancel, action: {}), TextAlertAction(type: .genericAction, title: presentationData.strings.WatchRemote_AlertOpen, action:navigateToMessage)]) (strongSelf.rootController.viewControllers.last as? ViewController)?.present(controller, in: .window(.root)) } } else { @@ -840,7 +840,7 @@ final class AuthorizedApplicationContext { } func openRootSearch() { - self.rootController.openChatsSearch() + self.rootController.openChatsController(activateSearch: true) } func openRootCompose() { diff --git a/Telegram-iOS/en.lproj/Localizable.strings b/Telegram-iOS/en.lproj/Localizable.strings index a6135702fe..96cf32c67d 100644 --- a/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram-iOS/en.lproj/Localizable.strings @@ -4133,7 +4133,7 @@ Unused sets are archived when you add more."; "SettingsSearch.Synonyms.Notifications.ContactJoined" = ""; "SettingsSearch.Synonyms.Notifications.ResetAllNotifications" = ""; -"SettingsSearch.Synonyms.Privacy.Title" = ""; +"SettingsSearch.Synonyms.Privacy.Title" = " "; "SettingsSearch.Synonyms.Privacy.BlockedUsers" = ""; "SettingsSearch.Synonyms.Privacy.LastSeen" = ""; "SettingsSearch.Synonyms.Privacy.ProfilePhoto" = ""; @@ -4176,7 +4176,7 @@ Unused sets are archived when you add more."; "SettingsSearch.Synonyms.Appearance.Title" = ""; "SettingsSearch.Synonyms.Appearance.TextSize" = ""; -"SettingsSearch.Synonyms.Appearance.ChatBackground" = ""; +"SettingsSearch.Synonyms.Appearance.ChatBackground" = "Wallpaper"; "SettingsSearch.Synonyms.Appearance.ChatBackground.SetColor" = ""; "SettingsSearch.Synonyms.Appearance.ChatBackground.Custom" = ""; "SettingsSearch.Synonyms.Appearance.AutoNightTheme" = ""; From dcc597095a794517b83b1fd2868a647a54325bc4 Mon Sep 17 00:00:00 2001 From: Peter <> Date: Tue, 19 Mar 2019 19:08:56 +0400 Subject: [PATCH 23/40] Update submodule --- submodules/AsyncDisplayKit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/AsyncDisplayKit b/submodules/AsyncDisplayKit index 2606923147..16ce3e690a 160000 --- a/submodules/AsyncDisplayKit +++ b/submodules/AsyncDisplayKit @@ -1 +1 @@ -Subproject commit 2606923147f03977d66c18a6634cb47b46ee7eec +Subproject commit 16ce3e690a217ce449bb50e057f3550bc7b79613 From fbc4d6d40fed6cd7baa78e73305a66fcc4a7d26e Mon Sep 17 00:00:00 2001 From: Peter <> Date: Tue, 19 Mar 2019 20:53:19 +0400 Subject: [PATCH 24/40] Update submodules --- submodules/Display | 2 +- submodules/Postbox | 2 +- submodules/TelegramCore | 2 +- submodules/TelegramUI | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/submodules/Display b/submodules/Display index 4033e28c74..5203c8a156 160000 --- a/submodules/Display +++ b/submodules/Display @@ -1 +1 @@ -Subproject commit 4033e28c742f7a4f72ca773ac93509195dfbd4f1 +Subproject commit 5203c8a1561ff95c20eacedd4a16162b664d2bd9 diff --git a/submodules/Postbox b/submodules/Postbox index a721d29c2c..45252fce7a 160000 --- a/submodules/Postbox +++ b/submodules/Postbox @@ -1 +1 @@ -Subproject commit a721d29c2c0532406a2ed8c15af29238fea02340 +Subproject commit 45252fce7a0be85dada20625bd7c44db53e2183d diff --git a/submodules/TelegramCore b/submodules/TelegramCore index 3cedd06d31..806da06e32 160000 --- a/submodules/TelegramCore +++ b/submodules/TelegramCore @@ -1 +1 @@ -Subproject commit 3cedd06d31c238868b2eab313bbb8ec7fb231e26 +Subproject commit 806da06e324f14d7ebb8203d8dcd211fa12cfa60 diff --git a/submodules/TelegramUI b/submodules/TelegramUI index ed735ab8c1..c952208cc8 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit ed735ab8c15c47e5ccda38227a51e07683898c34 +Subproject commit c952208cc8b4a8957a29e3ee8d2beb6e75740f3e From 583e0d90a9cd4611b13af8b0b08a51cef8e0f97c Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Tue, 19 Mar 2019 22:31:41 +0400 Subject: [PATCH 25/40] Update submodules --- submodules/LegacyComponents | 2 +- submodules/TelegramCore | 2 +- submodules/TelegramUI | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/submodules/LegacyComponents b/submodules/LegacyComponents index 7defd7c055..0d44c9e101 160000 --- a/submodules/LegacyComponents +++ b/submodules/LegacyComponents @@ -1 +1 @@ -Subproject commit 7defd7c055211a61b58bdb0e34ab4bda9ae15614 +Subproject commit 0d44c9e1016591c4cfdf1886e743b46acc3646fe diff --git a/submodules/TelegramCore b/submodules/TelegramCore index 806da06e32..d9e87e686f 160000 --- a/submodules/TelegramCore +++ b/submodules/TelegramCore @@ -1 +1 @@ -Subproject commit 806da06e324f14d7ebb8203d8dcd211fa12cfa60 +Subproject commit d9e87e686f31ee79ee6d6de5cc4af40237a7b9c1 diff --git a/submodules/TelegramUI b/submodules/TelegramUI index c952208cc8..4f3f07b902 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit c952208cc8b4a8957a29e3ee8d2beb6e75740f3e +Subproject commit 4f3f07b90249aaebf30d75a37ee29af3a393a66c From fc3266c81a22c162db690e4f51bc15eb450cff36 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Wed, 20 Mar 2019 14:03:04 +0400 Subject: [PATCH 26/40] Update submodules --- Telegram-iOS/en.lproj/Localizable.strings | 189 +++++++++++----------- submodules/TelegramCore | 2 +- submodules/TelegramUI | 2 +- 3 files changed, 96 insertions(+), 97 deletions(-) diff --git a/Telegram-iOS/en.lproj/Localizable.strings b/Telegram-iOS/en.lproj/Localizable.strings index 96cf32c67d..6be7be1e54 100644 --- a/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram-iOS/en.lproj/Localizable.strings @@ -65,7 +65,7 @@ "PUSH_CHANNEL_MESSAGE_GIF" = "%1$@ posted a GIF"; "PUSH_CHANNEL_MESSAGES" = "%1$@ posted %2$@ messages"; -"PUSH_PINNED_TEXT" = "%1$@ pinned \"%2$@\""; +"PUSH_PINNED_TEXT" = "%1$@ pinned \"%2$@\" "; "PUSH_PINNED_NOTEXT" = "%1$@ pinned a message"; "PUSH_PINNED_PHOTO" = "%1$@ pinned a photo"; "PUSH_PINNED_VIDEO" = "%1$@ pinned a video"; @@ -188,7 +188,7 @@ "PUSH_CHAT_MESSAGES_1" = "%2$@|%1$@ sent a message"; "PUSH_CHAT_MESSAGES_any" = "%2$@|%1$@ sent %3$d messages"; -"PUSH_PINNED_TEXT" = "%1$@|pinned \"%2$@\""; +"PUSH_PINNED_TEXT" = "%1$@|pinned \"%2$@\" "; "PUSH_PINNED_NOTEXT" = "%1$@|pinned a message"; "PUSH_PINNED_PHOTO" = "%1$@|pinned a photo"; "PUSH_PINNED_VIDEO" = "%1$@|pinned a video"; @@ -500,9 +500,9 @@ "Notification.Kicked" = "%@ removed %@"; "Notification.CreatedChat" = "%@ created a group"; "Notification.CreatedChannel" = "Channel created"; -"Notification.CreatedChatWithTitle" = "%@ created the group \"%@\""; +"Notification.CreatedChatWithTitle" = "%@ created the group \"%@\" "; "Notification.Joined" = "%@ joined Telegram"; -"Notification.ChangedGroupName" = "%@ changed group name to \"%@\""; +"Notification.ChangedGroupName" = "%@ changed group name to \"%@\" "; "Notification.NewAuthDetected" = "%1$@,\nWe detected a login into your account from a new device on %2$@, %3$@ at %4$@\n\nDevice: %5$@\nLocation: %6$@\n\nIf this wasn't you, you can go to Settings — Privacy and Security — Sessions and terminate that session.\n\nIf you think that somebody logged in to your account against your will, you can enable two-step verification in Privacy and Security settings.\n\nSincerely,\nThe Telegram Team"; "Notification.MessageLifetimeChanged" = "%1$@ set the self-destruct timer to %2$@"; "Notification.MessageLifetimeChangedOutgoing" = "You set the self-destruct timer to %1$@"; @@ -1488,7 +1488,7 @@ "Channel.MessagePhotoUpdated" = "Channel photo updated"; "Channel.MessagePhotoRemoved" = "Channel photo removed"; -"Channel.MessageTitleUpdated" = "Channel renamed to \"%@\""; +"Channel.MessageTitleUpdated" = "Channel renamed to \"%@\" "; "Channel.TitleInfo" = "Channel Info"; "Channel.UpdatePhotoItem" = "Set Channel Photo"; @@ -1896,7 +1896,7 @@ "Group.Username.InvalidTooShort" = "Group names must have at least 5 characters."; "Group.Username.InvalidStartsWithNumber" = "Group names can't start with a number."; -"Notification.PinnedTextMessage" = "%@ pinned \"%@\""; +"Notification.PinnedTextMessage" = "%@ pinned \"%@\" "; "Notification.PinnedPhotoMessage" = "%@ pinned a photo"; "Notification.PinnedVideoMessage" = "%@ pinned a video"; "Notification.PinnedRoundMessage" = "%@ pinned a video message"; @@ -1909,7 +1909,7 @@ "Notification.PinnedDeletedMessage" = "%@ pinned deleted message"; "Notification.PinnedPollMessage" = "%@ pinned a poll"; -"Message.PinnedTextMessage" = "pinned \"%@\""; +"Message.PinnedTextMessage" = "pinned \"%@\" "; "Message.PinnedPhotoMessage" = "pinned photo"; "Message.PinnedVideoMessage" = "pinned video"; "Message.PinnedAudioMessage" = "pinned voice message"; @@ -4061,8 +4061,6 @@ Unused sets are archived when you add more."; "Gif.NoGifsFound" = "No GIFs Found"; "Gif.NoGifsPlaceholder" = "You have no saved GIFs yet."; -"SettingsSearch.FAQ" = "FAQ"; - "Privacy.ProfilePhoto" = "Profile Photo"; "Privacy.Forwards" = "Forwarded Messages"; @@ -4092,100 +4090,101 @@ Unused sets are archived when you add more."; "Chat.DeleteMessagesConfirmation_1" = "Delete message"; "Chat.DeleteMessagesConfirmation_any" = "Delete %@ messages"; -"SettingsSearch.Synonyms.EditProfile.Title" = ""; -"SettingsSearch.Synonyms.EditProfile.Bio" = ""; -"SettingsSearch.Synonyms.EditProfile.PhoneNumber" = ""; -"SettingsSearch.Synonyms.EditProfile.Username" = ""; -"SettingsSearch.Synonyms.EditProfile.AddAccount" = ""; -"SettingsSearch.Synonyms.EditProfile.Logout" = ""; +"SettingsSearch.FAQ" = "FAQ"; -"SettingsSearch.Synonyms.Calls.Title" = ""; -"SettingsSearch.Synonyms.Calls.CallTab" = ""; +"SettingsSearch.Synonyms.EditProfile.Title" = " "; +"SettingsSearch.Synonyms.EditProfile.Bio" = " "; +"SettingsSearch.Synonyms.EditProfile.PhoneNumber" = " "; +"SettingsSearch.Synonyms.EditProfile.Username" = " "; +"SettingsSearch.Synonyms.EditProfile.AddAccount" = " "; +"SettingsSearch.Synonyms.EditProfile.Logout" = " "; -"SettingsSearch.Synonyms.Stickers.Title" = ""; -"SettingsSearch.Synonyms.Stickers.SuggestStickers" = ""; -"SettingsSearch.Synonyms.Stickers.FeaturedPacks" = ""; -"SettingsSearch.Synonyms.Stickers.ArchivedPacks" = ""; -"SettingsSearch.Synonyms.Stickers.Masks" = ""; -"SettingsSearch.Synonyms.Stickers.ArchivedMasks" = ""; +"SettingsSearch.Synonyms.Calls.Title" = " "; +"SettingsSearch.Synonyms.Calls.CallTab" = " "; -"SettingsSearch.Synonyms.Notifications.Title" = ""; -"SettingsSearch.Synonyms.Notifications.MessageNotificationsAlert" = ""; -"SettingsSearch.Synonyms.Notifications.MessageNotificationsPreview" = ""; -"SettingsSearch.Synonyms.Notifications.MessageNotificationsSound" = ""; -"SettingsSearch.Synonyms.Notifications.MessageNotificationsExceptions" = ""; -"SettingsSearch.Synonyms.Notifications.GroupNotificationsAlert" = ""; -"SettingsSearch.Synonyms.Notifications.GroupNotificationsPreview" = ""; -"SettingsSearch.Synonyms.Notifications.GroupNotificationsSound" = ""; -"SettingsSearch.Synonyms.Notifications.GroupNotificationsExceptions" = ""; -"SettingsSearch.Synonyms.Notifications.ChannelNotificationsAlert" = ""; -"SettingsSearch.Synonyms.Notifications.ChannelNotificationsPreview" = ""; -"SettingsSearch.Synonyms.Notifications.ChannelNotificationsSound" = ""; -"SettingsSearch.Synonyms.Notifications.ChannelNotificationsExceptions" = ""; -"SettingsSearch.Synonyms.Notifications.InAppNotificationsSound" = ""; -"SettingsSearch.Synonyms.Notifications.InAppNotificationsVibrate" = ""; -"SettingsSearch.Synonyms.Notifications.InAppNotificationsPreview" = ""; -"SettingsSearch.Synonyms.Notifications.DisplayNamesOnLockScreen" = ""; -"SettingsSearch.Synonyms.Notifications.BadgeIncludeMutedChats" = ""; -"SettingsSearch.Synonyms.Notifications.BadgeIncludeMutedPublicGroups" = ""; -"SettingsSearch.Synonyms.Notifications.BadgeIncludeMutedChannels" = ""; -"SettingsSearch.Synonyms.Notifications.BadgeCountUnreadMessages" = ""; -"SettingsSearch.Synonyms.Notifications.ContactJoined" = ""; -"SettingsSearch.Synonyms.Notifications.ResetAllNotifications" = ""; +"SettingsSearch.Synonyms.Stickers.Title" = " "; +"SettingsSearch.Synonyms.Stickers.SuggestStickers" = " "; +"SettingsSearch.Synonyms.Stickers.FeaturedPacks" = " "; +"SettingsSearch.Synonyms.Stickers.ArchivedPacks" = " "; +"SettingsSearch.Synonyms.Stickers.Masks" = " "; + +"SettingsSearch.Synonyms.Notifications.Title" = " "; +"SettingsSearch.Synonyms.Notifications.MessageNotificationsAlert" = " "; +"SettingsSearch.Synonyms.Notifications.MessageNotificationsPreview" = " "; +"SettingsSearch.Synonyms.Notifications.MessageNotificationsSound" = " "; +"SettingsSearch.Synonyms.Notifications.MessageNotificationsExceptions" = " "; +"SettingsSearch.Synonyms.Notifications.GroupNotificationsAlert" = " "; +"SettingsSearch.Synonyms.Notifications.GroupNotificationsPreview" = " "; +"SettingsSearch.Synonyms.Notifications.GroupNotificationsSound" = " "; +"SettingsSearch.Synonyms.Notifications.GroupNotificationsExceptions" = " "; +"SettingsSearch.Synonyms.Notifications.ChannelNotificationsAlert" = " "; +"SettingsSearch.Synonyms.Notifications.ChannelNotificationsPreview" = " "; +"SettingsSearch.Synonyms.Notifications.ChannelNotificationsSound" = " "; +"SettingsSearch.Synonyms.Notifications.ChannelNotificationsExceptions" = " "; +"SettingsSearch.Synonyms.Notifications.InAppNotificationsSound" = " "; +"SettingsSearch.Synonyms.Notifications.InAppNotificationsVibrate" = " "; +"SettingsSearch.Synonyms.Notifications.InAppNotificationsPreview" = " "; +"SettingsSearch.Synonyms.Notifications.DisplayNamesOnLockScreen" = " "; +"SettingsSearch.Synonyms.Notifications.BadgeIncludeMutedChats" = " "; +"SettingsSearch.Synonyms.Notifications.BadgeIncludeMutedPublicGroups" = " "; +"SettingsSearch.Synonyms.Notifications.BadgeIncludeMutedChannels" = " "; +"SettingsSearch.Synonyms.Notifications.BadgeCountUnreadMessages" = " "; +"SettingsSearch.Synonyms.Notifications.ContactJoined" = " "; +"SettingsSearch.Synonyms.Notifications.ResetAllNotifications" = " "; "SettingsSearch.Synonyms.Privacy.Title" = " "; -"SettingsSearch.Synonyms.Privacy.BlockedUsers" = ""; -"SettingsSearch.Synonyms.Privacy.LastSeen" = ""; -"SettingsSearch.Synonyms.Privacy.ProfilePhoto" = ""; -"SettingsSearch.Synonyms.Privacy.Forwards" = ""; -"SettingsSearch.Synonyms.Privacy.Calls" = ""; -"SettingsSearch.Synonyms.Privacy.GroupsAndChannels" = ""; -"SettingsSearch.Synonyms.Privacy.Passcode" = ""; -"SettingsSearch.Synonyms.Privacy.PasscodeAndTouchId" = ""; -"SettingsSearch.Synonyms.Privacy.PasscodeAndFaceId" = ""; -"SettingsSearch.Synonyms.Privacy.TwoStepAuth" = ""; -"SettingsSearch.Synonyms.Privacy.AuthSessions" = ""; -"SettingsSearch.Synonyms.Privacy.DeleteAccountIfAwayFor" = ""; +"SettingsSearch.Synonyms.Privacy.BlockedUsers" = " "; +"SettingsSearch.Synonyms.Privacy.LastSeen" = " "; +"SettingsSearch.Synonyms.Privacy.ProfilePhoto" = " "; +"SettingsSearch.Synonyms.Privacy.Forwards" = " "; +"SettingsSearch.Synonyms.Privacy.Calls" = " "; +"SettingsSearch.Synonyms.Privacy.GroupsAndChannels" = " "; +"SettingsSearch.Synonyms.Privacy.Passcode" = " "; +"SettingsSearch.Synonyms.Privacy.PasscodeAndTouchId" = " "; +"SettingsSearch.Synonyms.Privacy.PasscodeAndFaceId" = " "; +"SettingsSearch.Synonyms.Privacy.TwoStepAuth" = "Password"; +"SettingsSearch.Synonyms.Privacy.AuthSessions" = " "; +"SettingsSearch.Synonyms.Privacy.DeleteAccountIfAwayFor" = " "; -"SettingsSearch.Synonyms.Privacy.Data.Title" = ""; -"SettingsSearch.Synonyms.Privacy.Data.ContactsReset" = ""; -"SettingsSearch.Synonyms.Privacy.Data.ContactsSync" = ""; -"SettingsSearch.Synonyms.Privacy.Data.TopPeers" = ""; -"SettingsSearch.Synonyms.Privacy.Data.DeleteDrafts" = ""; -"SettingsSearch.Synonyms.Privacy.Data.ClearPaymentsInfo" = ""; -"SettingsSearch.Synonyms.Privacy.Data.SecretChatLinkPreview" = ""; +"SettingsSearch.Synonyms.Privacy.Data.Title" = " "; +"SettingsSearch.Synonyms.Privacy.Data.ContactsReset" = " "; +"SettingsSearch.Synonyms.Privacy.Data.ContactsSync" = " "; +"SettingsSearch.Synonyms.Privacy.Data.TopPeers" = " "; +"SettingsSearch.Synonyms.Privacy.Data.DeleteDrafts" = " "; +"SettingsSearch.Synonyms.Privacy.Data.ClearPaymentsInfo" = " "; +"SettingsSearch.Synonyms.Privacy.Data.SecretChatLinkPreview" = " "; -"SettingsSearch.Synonyms.Data.Title" = ""; -"SettingsSearch.Synonyms.Data.Storage.Title" = ""; -"SettingsSearch.Synonyms.Data.Storage.KeepMedia" = ""; -"SettingsSearch.Synonyms.Data.Storage.ClearCache" = ""; -"SettingsSearch.Synonyms.Data.NetworkUsage" = ""; -"SettingsSearch.Synonyms.Data.AutoDownloadUsingCellular" = ""; -"SettingsSearch.Synonyms.Data.AutoDownloadUsingWifi" = ""; -"SettingsSearch.Synonyms.Data.AutoDownloadReset" = ""; -"SettingsSearch.Synonyms.Data.AutoplayGifs" = ""; -"SettingsSearch.Synonyms.Data.AutoplayVideos" = ""; -"SettingsSearch.Synonyms.Data.CallsUseLessData" = ""; -"SettingsSearch.Synonyms.Data.SaveIncomingPhotos" = ""; -"SettingsSearch.Synonyms.Data.SaveEditedPhotos" = ""; -"SettingsSearch.Synonyms.Data.DownloadInBackground" = ""; +"SettingsSearch.Synonyms.Data.Title" = " "; +"SettingsSearch.Synonyms.Data.Storage.Title" = "Cache"; +"SettingsSearch.Synonyms.Data.Storage.KeepMedia" = " "; +"SettingsSearch.Synonyms.Data.Storage.ClearCache" = " "; +"SettingsSearch.Synonyms.Data.NetworkUsage" = " "; +"SettingsSearch.Synonyms.Data.AutoDownloadUsingCellular" = " "; +"SettingsSearch.Synonyms.Data.AutoDownloadUsingWifi" = " "; +"SettingsSearch.Synonyms.Data.AutoDownloadReset" = " "; +"SettingsSearch.Synonyms.Data.AutoplayGifs" = " "; +"SettingsSearch.Synonyms.Data.AutoplayVideos" = " "; +"SettingsSearch.Synonyms.Data.CallsUseLessData" = " "; +"SettingsSearch.Synonyms.Data.SaveIncomingPhotos" = " "; +"SettingsSearch.Synonyms.Data.SaveEditedPhotos" = " "; +"SettingsSearch.Synonyms.Data.DownloadInBackground" = " "; -"SettingsSearch.Synonyms.Proxy.Title" = ""; -"SettingsSearch.Synonyms.Proxy.AddProxy" = ""; -"SettingsSearch.Synonyms.Proxy.UseForCalls" = ""; +"SettingsSearch.Synonyms.Proxy.Title" = "SOCKS5|MTProto"; +"SettingsSearch.Synonyms.Proxy.AddProxy" = " "; +"SettingsSearch.Synonyms.Proxy.UseForCalls" = " "; -"SettingsSearch.Synonyms.Appearance.Title" = ""; -"SettingsSearch.Synonyms.Appearance.TextSize" = ""; +"SettingsSearch.Synonyms.Appearance.Title" = " "; +"SettingsSearch.Synonyms.Appearance.TextSize" = " "; "SettingsSearch.Synonyms.Appearance.ChatBackground" = "Wallpaper"; -"SettingsSearch.Synonyms.Appearance.ChatBackground.SetColor" = ""; -"SettingsSearch.Synonyms.Appearance.ChatBackground.Custom" = ""; -"SettingsSearch.Synonyms.Appearance.AutoNightTheme" = ""; -"SettingsSearch.Synonyms.Appearance.ColorTheme" = ""; -"SettingsSearch.Synonyms.Appearance.Animations" = ""; +"SettingsSearch.Synonyms.Appearance.ChatBackground.SetColor" = " "; +"SettingsSearch.Synonyms.Appearance.ChatBackground.Custom" = " "; +"SettingsSearch.Synonyms.Appearance.AutoNightTheme" = " "; +"SettingsSearch.Synonyms.Appearance.ColorTheme" = " "; +"SettingsSearch.Synonyms.Appearance.Animations" = "Animations"; -"SettingsSearch.Synonyms.SavedMessages" = ""; -"SettingsSearch.Synonyms.AppLanguage" = ""; -"SettingsSearch.Synonyms.Passport" = ""; -"SettingsSearch.Synonyms.Watch" = ""; -"SettingsSearch.Synonyms.Support" = ""; -"SettingsSearch.Synonyms.FAQ" = ""; +"SettingsSearch.Synonyms.SavedMessages" = " "; +"SettingsSearch.Synonyms.AppLanguage" = " "; +"SettingsSearch.Synonyms.Passport" = " "; +"SettingsSearch.Synonyms.Watch" = "Apple Watch"; +"SettingsSearch.Synonyms.Support" = "Support"; +"SettingsSearch.Synonyms.FAQ" = " "; diff --git a/submodules/TelegramCore b/submodules/TelegramCore index d9e87e686f..6696d6045c 160000 --- a/submodules/TelegramCore +++ b/submodules/TelegramCore @@ -1 +1 @@ -Subproject commit d9e87e686f31ee79ee6d6de5cc4af40237a7b9c1 +Subproject commit 6696d6045cfe598dfbf0d50e71245a2a8655c16e diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 4f3f07b902..cfc495ff88 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 4f3f07b90249aaebf30d75a37ee29af3a393a66c +Subproject commit cfc495ff88efc88625ff37552855737dc06d7461 From 29bfdf6317573975f3b884c7207439e4b9af49e6 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Wed, 20 Mar 2019 16:23:00 +0400 Subject: [PATCH 27/40] Update submodules --- Telegram-iOS/en.lproj/Localizable.strings | 2 +- submodules/TelegramUI | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram-iOS/en.lproj/Localizable.strings b/Telegram-iOS/en.lproj/Localizable.strings index 6be7be1e54..c92fe57184 100644 --- a/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram-iOS/en.lproj/Localizable.strings @@ -4169,7 +4169,7 @@ Unused sets are archived when you add more."; "SettingsSearch.Synonyms.Data.SaveEditedPhotos" = " "; "SettingsSearch.Synonyms.Data.DownloadInBackground" = " "; -"SettingsSearch.Synonyms.Proxy.Title" = "SOCKS5|MTProto"; +"SettingsSearch.Synonyms.Proxy.Title" = "SOCKS5\nMTProto"; "SettingsSearch.Synonyms.Proxy.AddProxy" = " "; "SettingsSearch.Synonyms.Proxy.UseForCalls" = " "; diff --git a/submodules/TelegramUI b/submodules/TelegramUI index cfc495ff88..63d2bb649b 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit cfc495ff88efc88625ff37552855737dc06d7461 +Subproject commit 63d2bb649b87beecf04738ede4dc7631a08d1921 From 24d5611c83a50ce48fd2bd37dbc5b7733145b06e Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Wed, 20 Mar 2019 19:02:34 +0400 Subject: [PATCH 28/40] Update submodules --- submodules/TelegramUI | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 63d2bb649b..83834a9c29 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 63d2bb649b87beecf04738ede4dc7631a08d1921 +Subproject commit 83834a9c29a6f966fceffd187fad1b52c12a835e From 0a6f3e3099020a7d98841a34edbe6cdf567c59cb Mon Sep 17 00:00:00 2001 From: Peter <> Date: Wed, 20 Mar 2019 21:16:01 +0400 Subject: [PATCH 29/40] Update localization --- Telegram-iOS/en.lproj/Localizable.strings | 5 +++++ submodules/TelegramCore | 2 +- submodules/TelegramUI | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Telegram-iOS/en.lproj/Localizable.strings b/Telegram-iOS/en.lproj/Localizable.strings index c92fe57184..80a872b487 100644 --- a/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram-iOS/en.lproj/Localizable.strings @@ -4188,3 +4188,8 @@ Unused sets are archived when you add more."; "SettingsSearch.Synonyms.Watch" = "Apple Watch"; "SettingsSearch.Synonyms.Support" = "Support"; "SettingsSearch.Synonyms.FAQ" = " "; + +"ChatList.DeleteForCurrentUser" = "Delete just for me"; +"ChatList.DeleteForEveryone" = "Delete for me and %@"; + +"ChatList.ClearChatConfirmation" = "Are you sure you want to delete all\nmessages in the chat with %@?"; diff --git a/submodules/TelegramCore b/submodules/TelegramCore index 6696d6045c..2a05628f97 160000 --- a/submodules/TelegramCore +++ b/submodules/TelegramCore @@ -1 +1 @@ -Subproject commit 6696d6045cfe598dfbf0d50e71245a2a8655c16e +Subproject commit 2a05628f9711d111b41abc92815792a7614f3b22 diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 63d2bb649b..4d2d3648f4 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 63d2bb649b87beecf04738ede4dc7631a08d1921 +Subproject commit 4d2d3648f434286c1caffe48a03e9e6e0438faf6 From 86a635823f48f8d16d96b00d7822da6f541137ad Mon Sep 17 00:00:00 2001 From: Peter <> Date: Wed, 20 Mar 2019 22:44:31 +0400 Subject: [PATCH 30/40] Update sumbodules --- submodules/TelegramUI | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 4d2d3648f4..1488d8e99f 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 4d2d3648f434286c1caffe48a03e9e6e0438faf6 +Subproject commit 1488d8e99f9a3b35d1ce2657256563ad39249302 From f6fcaad34505aafa239bde46ef8ba8a10bf23549 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Wed, 20 Mar 2019 23:19:41 +0400 Subject: [PATCH 31/40] Update submodules --- submodules/TelegramUI | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 1488d8e99f..48d97f57bc 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 1488d8e99f9a3b35d1ce2657256563ad39249302 +Subproject commit 48d97f57bc39ba9602b598441aff979a1cf3f6d3 From 7d24ec43f7782bebc44dbe06498b7fc813aaf845 Mon Sep 17 00:00:00 2001 From: Peter <> Date: Thu, 21 Mar 2019 01:07:09 +0400 Subject: [PATCH 32/40] Update submodules --- submodules/Postbox | 2 +- submodules/TelegramCore | 2 +- submodules/TelegramUI | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/submodules/Postbox b/submodules/Postbox index 45252fce7a..1dab2acfbf 160000 --- a/submodules/Postbox +++ b/submodules/Postbox @@ -1 +1 @@ -Subproject commit 45252fce7a0be85dada20625bd7c44db53e2183d +Subproject commit 1dab2acfbfb6dbfa68716834736719421bbeca72 diff --git a/submodules/TelegramCore b/submodules/TelegramCore index 2a05628f97..0dd388a014 160000 --- a/submodules/TelegramCore +++ b/submodules/TelegramCore @@ -1 +1 @@ -Subproject commit 2a05628f9711d111b41abc92815792a7614f3b22 +Subproject commit 0dd388a0144f77d32e362221ef9773bd173443cc diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 48d97f57bc..6c68b822c7 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 48d97f57bc39ba9602b598441aff979a1cf3f6d3 +Subproject commit 6c68b822c7a5bb9708ba4b9a20e3102f89a993d1 From 0e1e25bddb0bd2cf1f0eb2c75422213e46e4849f Mon Sep 17 00:00:00 2001 From: Peter <> Date: Thu, 21 Mar 2019 01:48:29 +0400 Subject: [PATCH 33/40] Update submodules --- submodules/Postbox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/Postbox b/submodules/Postbox index 1dab2acfbf..f564c6ad01 160000 --- a/submodules/Postbox +++ b/submodules/Postbox @@ -1 +1 @@ -Subproject commit 1dab2acfbfb6dbfa68716834736719421bbeca72 +Subproject commit f564c6ad0158dfbd8606db34bd23cddaed5768aa From 6ee1d8311b10231ba973dd8bb2cc5d3375770c46 Mon Sep 17 00:00:00 2001 From: Peter <> Date: Thu, 21 Mar 2019 14:48:40 +0400 Subject: [PATCH 34/40] Update submodules --- submodules/TelegramUI | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 6c68b822c7..550fba29a1 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 6c68b822c7a5bb9708ba4b9a20e3102f89a993d1 +Subproject commit 550fba29a1682d17250830b6a1b47d5228c66c1c From 836b18873eb1c3c777faf517896477e85b1b3d3d Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Thu, 21 Mar 2019 18:12:59 +0400 Subject: [PATCH 35/40] Update submodules --- Telegram-iOS/en.lproj/Localizable.strings | 2 ++ submodules/TelegramUI | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Telegram-iOS/en.lproj/Localizable.strings b/Telegram-iOS/en.lproj/Localizable.strings index 80a872b487..34f68766fb 100644 --- a/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram-iOS/en.lproj/Localizable.strings @@ -4090,6 +4090,8 @@ Unused sets are archived when you add more."; "Chat.DeleteMessagesConfirmation_1" = "Delete message"; "Chat.DeleteMessagesConfirmation_any" = "Delete %@ messages"; +"Settings.Search" = "Search"; + "SettingsSearch.FAQ" = "FAQ"; "SettingsSearch.Synonyms.EditProfile.Title" = " "; diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 550fba29a1..7c9db3540c 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 550fba29a1682d17250830b6a1b47d5228c66c1c +Subproject commit 7c9db3540c280aaf52beb28e60778404d9c77bd8 From ae685be1e59286ecc7e2d99ba430ec4f737e0b59 Mon Sep 17 00:00:00 2001 From: Peter Iakovlev Date: Thu, 21 Mar 2019 19:00:10 +0400 Subject: [PATCH 36/40] Update submodules --- submodules/Postbox | 2 +- submodules/TelegramUI | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/Postbox b/submodules/Postbox index f564c6ad01..78c67b658a 160000 --- a/submodules/Postbox +++ b/submodules/Postbox @@ -1 +1 @@ -Subproject commit f564c6ad0158dfbd8606db34bd23cddaed5768aa +Subproject commit 78c67b658a473ea0c02a6b26b4344b82fb6571dc diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 7c9db3540c..bd4b2544f4 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 7c9db3540c280aaf52beb28e60778404d9c77bd8 +Subproject commit bd4b2544f435a16876eedfdeea8cfc8217ebceb9 From 203c4b2c17bc4ffbe78d4b068abff1bd49ae8dd0 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Thu, 21 Mar 2019 19:30:10 +0400 Subject: [PATCH 37/40] Update submodules --- submodules/Postbox | 2 +- submodules/TelegramUI | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/Postbox b/submodules/Postbox index 78c67b658a..f093418b67 160000 --- a/submodules/Postbox +++ b/submodules/Postbox @@ -1 +1 @@ -Subproject commit 78c67b658a473ea0c02a6b26b4344b82fb6571dc +Subproject commit f093418b678e12df7ebcc1dd47045d8a2018833d diff --git a/submodules/TelegramUI b/submodules/TelegramUI index bd4b2544f4..0fef406f8c 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit bd4b2544f435a16876eedfdeea8cfc8217ebceb9 +Subproject commit 0fef406f8c0d0d90cdcaaa33e8c38b21d48eea91 From b9c8d7c7f1a7cca8f7c88ba25107e3c873f1451f Mon Sep 17 00:00:00 2001 From: Peter Iakovlev Date: Thu, 21 Mar 2019 19:33:15 +0400 Subject: [PATCH 38/40] Update submodules --- submodules/Postbox | 2 +- submodules/TelegramUI | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/Postbox b/submodules/Postbox index 78c67b658a..f093418b67 160000 --- a/submodules/Postbox +++ b/submodules/Postbox @@ -1 +1 @@ -Subproject commit 78c67b658a473ea0c02a6b26b4344b82fb6571dc +Subproject commit f093418b678e12df7ebcc1dd47045d8a2018833d diff --git a/submodules/TelegramUI b/submodules/TelegramUI index bd4b2544f4..4b0ee9a79e 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit bd4b2544f435a16876eedfdeea8cfc8217ebceb9 +Subproject commit 4b0ee9a79ec9c3500cf1fb4d43dbd4689d2cbfae From 143fb2dafcfe0de285c9b80c8ba6efdbde846dbd Mon Sep 17 00:00:00 2001 From: Peter <> Date: Fri, 22 Mar 2019 01:15:13 +0400 Subject: [PATCH 39/40] Update submodules --- submodules/TelegramCore | 2 +- submodules/TelegramUI | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/TelegramCore b/submodules/TelegramCore index 0dd388a014..2f5870df0a 160000 --- a/submodules/TelegramCore +++ b/submodules/TelegramCore @@ -1 +1 @@ -Subproject commit 0dd388a0144f77d32e362221ef9773bd173443cc +Subproject commit 2f5870df0a496bc04401d3663ef843d5be7cb154 diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 4b0ee9a79e..2325f4acdd 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 4b0ee9a79ec9c3500cf1fb4d43dbd4689d2cbfae +Subproject commit 2325f4acddc9256c9b210899048f5e3563f256cd From 2cb8fefe17d43b322d16a60f07a7f72a2e6df7d2 Mon Sep 17 00:00:00 2001 From: Peter <> Date: Fri, 22 Mar 2019 15:22:29 +0400 Subject: [PATCH 40/40] Update submodules --- submodules/Display | 2 +- submodules/Postbox | 2 +- submodules/TelegramCore | 2 +- submodules/TelegramUI | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/submodules/Display b/submodules/Display index 5203c8a156..61d43c3c4b 160000 --- a/submodules/Display +++ b/submodules/Display @@ -1 +1 @@ -Subproject commit 5203c8a1561ff95c20eacedd4a16162b664d2bd9 +Subproject commit 61d43c3c4b5286f1bc26cfe0202979925d969e06 diff --git a/submodules/Postbox b/submodules/Postbox index f093418b67..c247d46222 160000 --- a/submodules/Postbox +++ b/submodules/Postbox @@ -1 +1 @@ -Subproject commit f093418b678e12df7ebcc1dd47045d8a2018833d +Subproject commit c247d462222edb15acbdb9ac3a14a796dd0cfbb5 diff --git a/submodules/TelegramCore b/submodules/TelegramCore index 2f5870df0a..25aa1551f6 160000 --- a/submodules/TelegramCore +++ b/submodules/TelegramCore @@ -1 +1 @@ -Subproject commit 2f5870df0a496bc04401d3663ef843d5be7cb154 +Subproject commit 25aa1551f654a15287ac604309c0a0516259b0b1 diff --git a/submodules/TelegramUI b/submodules/TelegramUI index 2325f4acdd..e93b3ebe42 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit 2325f4acddc9256c9b210899048f5e3563f256cd +Subproject commit e93b3ebe42d7de8fa1c3a45e5522e5992a40bdbd