mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Scroll history to bottom on sending a message.
This commit is contained in:
parent
e118972d5c
commit
33c453a13c
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue