mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
6ddb31a338
@ -376,7 +376,10 @@ public final class ListMessageSnippetItemNode: ListMessageNode {
|
||||
urlString = "http://" + urlString
|
||||
parsedUrl = URL(string: urlString)
|
||||
}
|
||||
let host: String? = concealed ? urlString : parsedUrl?.host
|
||||
var host: String? = concealed ? urlString : parsedUrl?.host
|
||||
if host == nil {
|
||||
host = urlString
|
||||
}
|
||||
if let url = parsedUrl, let host = host {
|
||||
primaryUrl = urlString
|
||||
if url.path.hasPrefix("/addstickers/") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user