Scroll history to bottom on sending a message.

This commit is contained in:
John Preston 2020-04-20 12:53:21 +04:00
parent e118972d5c
commit 33c453a13c

View File

@ -3102,6 +3102,8 @@ void HistoryWidget::send(Api::SendOptions options) {
if (!_keyboard->hasMarkup() && _keyboard->forceReply() && !_kbReplyTo) {
toggleKeyboard();
}
App::main()->historyToDown(_history);
App::main()->dialogsToUp();
}
void HistoryWidget::sendWithModifiers(Qt::KeyboardModifiers modifiers) {