mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-01 12:00:48 +00:00
Scroll history to bottom on sending a message.
This commit is contained in:
parent
e118972d5c
commit
33c453a13c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user