2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

dev version 0.8.9 fixed telegram.me joinchat

This commit is contained in:
John Preston
2015-04-30 18:11:21 +03:00
parent c33ddf49ff
commit 749b13adec
8 changed files with 17 additions and 17 deletions

View File

@@ -2489,7 +2489,7 @@ void MainWidget::openLocalUrl(const QString &url) {
openUserByName(m.captured(1));
}
} else if (u.startsWith(QLatin1String("tg://join"), Qt::CaseInsensitive)) {
QRegularExpressionMatch m = QRegularExpression(qsl("^tg://join/?\\?invite=([a-zA-Z0-9\\.\\_]+)$"), QRegularExpression::CaseInsensitiveOption).match(u);
QRegularExpressionMatch m = QRegularExpression(qsl("^tg://join/?\\?invite=([a-zA-Z0-9\\.\\_\\-]+)$"), QRegularExpression::CaseInsensitiveOption).match(u);
if (m.hasMatch()) {
joinGroupByHash(m.captured(1));
}