mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix t.me/username links with upper-case letters.
This commit is contained in:
@@ -172,7 +172,7 @@ bool ResolveUsername(const Match &match, const QVariant &context) {
|
||||
const auto domain = params.value(qsl("domain"));
|
||||
const auto valid = [](const QString &domain) {
|
||||
return qthelp::regex_match(
|
||||
qsl("^[a-z0-9\\.\\_]+$"),
|
||||
qsl("^[a-zA-Z0-9\\.\\_]+$"),
|
||||
domain,
|
||||
{}
|
||||
).valid();
|
||||
|
||||
Reference in New Issue
Block a user