mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-29 13:39:06 +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) {
|
if (!_keyboard->hasMarkup() && _keyboard->forceReply() && !_kbReplyTo) {
|
||||||
toggleKeyboard();
|
toggleKeyboard();
|
||||||
}
|
}
|
||||||
|
App::main()->historyToDown(_history);
|
||||||
|
App::main()->dialogsToUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
void HistoryWidget::sendWithModifiers(Qt::KeyboardModifiers modifiers) {
|
void HistoryWidget::sendWithModifiers(Qt::KeyboardModifiers modifiers) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user