2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

fixed pinned msg service message, fixed markdown stickerpack link, fixed phrase for convert group to supergroup

This commit is contained in:
John Preston
2016-03-06 19:06:05 +02:00
parent 1c722a425d
commit 420e82d421
3 changed files with 15 additions and 2 deletions

View File

@@ -180,12 +180,12 @@ ConfirmLinkBox::ConfirmLinkBox(const QString &url) : ConfirmBox(lang(lng_open_th
}
void ConfirmLinkBox::onOpenLink() {
Ui::hideLayer();
if (reMailStart().match(_url).hasMatch()) {
EmailLink(_url).onClick(Qt::LeftButton);
} else {
TextLink(_url).onClick(Qt::LeftButton);
}
Ui::hideLayer();
}
MaxInviteBox::MaxInviteBox(const QString &link) : AbstractBox(st::boxWidth)