diff --git a/Telegram/SourceFiles/history/view/history_view_chat_section.cpp b/Telegram/SourceFiles/history/view/history_view_chat_section.cpp index 7d96d7e0f9..5fecbc4a56 100644 --- a/Telegram/SourceFiles/history/view/history_view_chat_section.cpp +++ b/Telegram/SourceFiles/history/view/history_view_chat_section.cpp @@ -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);