Fix t.me channel comment links opening.

Regression was introduced in af51307aa6.
This commit is contained in:
John Preston 2023-04-21 14:10:19 +04:00
parent d37666e91a
commit 0b5038aaa2

View File

@ -1034,7 +1034,7 @@ QString TryConvertUrlToLocal(QString url) {
"(" "("
"/?\\?|" "/?\\?|"
"/?$|" "/?$|"
"/[a-zA-Z0-9\\.\\_]+|" "/[a-zA-Z0-9\\.\\_]+/?(\\?|$)|"
"/\\d+/?(\\?|$)|" "/\\d+/?(\\?|$)|"
"/\\d+/\\d+/?(\\?|$)" "/\\d+/\\d+/?(\\?|$)"
")"_q, query, matchOptions)) { ")"_q, query, matchOptions)) {