2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 05:58:38 +00:00

Added ability to bottom scroll in HistoryView::Chat section with submit.

Fixed #29662.
This commit is contained in:
23rd 2025-08-19 12:34:46 +03:00
parent f84181e7a5
commit b978bc4876

View File

@ -810,6 +810,11 @@ void ChatWidget::setupComposeControls() {
send(options);
}, lifetime());
_composeControls->scrollToMaxRequests(
) | rpl::start_with_next([=] {
listScrollTo(_scroll->scrollTopMax());
}, lifetime());
_composeControls->sendVoiceRequests(
) | rpl::start_with_next([=](const ComposeControls::VoiceToSend &data) {
sendVoice(data);