mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various Fixes
This commit is contained in:
@@ -193,7 +193,7 @@ public func generateTextEntities(_ text: String, enabledTypes: EnabledEntityType
|
||||
guard let host = url.host?.lowercased() else {
|
||||
return
|
||||
}
|
||||
if host == "telegram.org" || host == "t.me" {
|
||||
if ["telegram.org", "www.telegram.org", "t.me", "www.t.me"].contains(host) {
|
||||
} else {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user