From 8f3606fb2cfed032f7c135957990f2b3596e45a1 Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 23 Jan 2023 17:28:39 +0300 Subject: [PATCH] Add more service t.me subdomains. --- td/telegram/LinkManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/LinkManager.cpp b/td/telegram/LinkManager.cpp index f0010e59d..3830fb046 100644 --- a/td/telegram/LinkManager.cpp +++ b/td/telegram/LinkManager.cpp @@ -913,7 +913,7 @@ LinkManager::LinkInfo LinkManager::get_link_info(Slice link) { if (is_valid_username(subdomain) && subdomain != "addemoji" && subdomain != "addstickers" && subdomain != "addtheme" && subdomain != "auth" && subdomain != "confirmphone" && subdomain != "invoice" && subdomain != "joinchat" && subdomain != "login" && subdomain != "proxy" && subdomain != "setlanguage" && - subdomain != "share" && subdomain != "socks") { + subdomain != "share" && subdomain != "socks" && subdomain != "web" && subdomain != "k" && subdomain != "z") { result.type_ = LinkType::TMe; result.query_ = PSTRING() << '/' << subdomain << http_url.query_; return result;