2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

When following a post link push reply-return.

Fixes #4856.
This commit is contained in:
John Preston
2018-07-09 21:13:48 +03:00
parent eb3eef4b80
commit b697824540
25 changed files with 136 additions and 74 deletions

View File

@@ -101,7 +101,7 @@ void MainWindow::checkLockByTerms() {
if (AuthSession::Exists()) {
Auth().api().acceptTerms(id);
if (!mention.isEmpty()) {
MentionClickHandler(mention).onClick(Qt::LeftButton);
MentionClickHandler(mention).onClick({});
}
}
Messenger::Instance().unlockTerms();