Add external sticker set import

This commit is contained in:
Ilya Laktyushin
2021-04-16 14:22:38 +03:00
parent e2584bc99c
commit d9f3dba292
22 changed files with 1786 additions and 22 deletions

View File

@@ -678,7 +678,9 @@ func openExternalUrlImpl(context: AccountContext, urlContext: OpenURLContext, ur
}
}
} else {
if parsedUrl.host == "settings" {
if parsedUrl.host == "importStickers" {
handleResolvedUrl(.importStickers)
} else if parsedUrl.host == "settings" {
if let path = parsedUrl.pathComponents.last {
var section: ResolvedUrlSettingsSection?
switch path {