mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-08 12:24:39 +00:00
Add telegra.ph aliases
This commit is contained in:
@@ -448,7 +448,7 @@ public func resolveUrlImpl(account: Account, url: String) -> Signal<ResolvedUrl,
|
||||
}
|
||||
}
|
||||
}
|
||||
let baseTelegraPhPaths = ["telegra.ph/", "t.me/iv?"]
|
||||
let baseTelegraPhPaths = ["telegra.ph/", "te.legra.ph/", "graph.org/", "t.me/iv?"]
|
||||
for basePath in baseTelegraPhPaths {
|
||||
for scheme in schemes {
|
||||
let basePrefix = scheme + basePath
|
||||
|
||||
Reference in New Issue
Block a user