No confirmation for graph.org / te.legra.ph domains.

This commit is contained in:
John Preston 2022-01-31 16:13:21 +03:00
parent 17de379145
commit 8ef7325e16

View File

@ -61,7 +61,13 @@ bool UrlRequiresConfirmation(const QUrl &url) {
using namespace qthelp;
return !regex_match(
"(^|\\.)(telegram\\.(org|me|dog)|t\\.me|telegra\\.ph|telesco\\.pe)$",
"(^|\\.)("
"telegram\\.(org|me|dog)"
"|t\\.me"
"|te\\.?legra\\.ph"
"|graph\\.org"
"|telesco\\.pe"
")$",
url.host(),
RegExOption::CaseInsensitive);
}