2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +00:00

Merge branch 'master' into dev

This commit is contained in:
John Preston
2016-12-30 17:50:59 +04:00
14 changed files with 51 additions and 24 deletions

View File

@@ -723,6 +723,10 @@ void MainWidget::shareContactLayer(UserData *contact) {
}
void MainWidget::shareUrlLayer(const QString &url, const QString &text) {
// Don't allow to insert an inline bot query by share url link.
if (url.trimmed().startsWith('@')) {
return;
}
hiderLayer(new HistoryHider(this, url, text));
}