diff --git a/Telegram/SourceFiles/core/click_handler_types.cpp b/Telegram/SourceFiles/core/click_handler_types.cpp index 5cbdea5530..4d75788cf7 100644 --- a/Telegram/SourceFiles/core/click_handler_types.cpp +++ b/Telegram/SourceFiles/core/click_handler_types.cpp @@ -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); }