- forwarded from improvements

- sticker categories
This commit is contained in:
Isaac
2024-04-22 16:43:18 +04:00
parent 66d88f8c9b
commit e9f4fd3a25
26 changed files with 1209 additions and 911 deletions

View File

@@ -856,7 +856,7 @@ extension ChatControllerImpl {
}
}, recognizedQRCode: { [weak self] code in
if let strongSelf = self {
if let (host, port, username, password, secret) = parseProxyUrl(code) {
if let (host, port, username, password, secret) = parseProxyUrl(sharedContext: strongSelf.context.sharedContext, url: code) {
strongSelf.openResolved(result: ResolvedUrl.proxy(host: host, port: port, username: username, password: password, secret: secret), sourceMessageId: nil)
}
}
@@ -1697,7 +1697,7 @@ extension ChatControllerImpl {
}
}, recognizedQRCode: { [weak self] code in
if let strongSelf = self {
if let (host, port, username, password, secret) = parseProxyUrl(code) {
if let (host, port, username, password, secret) = parseProxyUrl(sharedContext: strongSelf.context.sharedContext, url: code) {
strongSelf.openResolved(result: ResolvedUrl.proxy(host: host, port: port, username: username, password: password, secret: secret), sourceMessageId: nil)
}
}