mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Added ability to bottom scroll in HistoryView::Chat section with submit.
Fixed #29662.
This commit is contained in:
@@ -810,6 +810,11 @@ void ChatWidget::setupComposeControls() {
|
|||||||
send(options);
|
send(options);
|
||||||
}, lifetime());
|
}, lifetime());
|
||||||
|
|
||||||
|
_composeControls->scrollToMaxRequests(
|
||||||
|
) | rpl::start_with_next([=] {
|
||||||
|
listScrollTo(_scroll->scrollTopMax());
|
||||||
|
}, lifetime());
|
||||||
|
|
||||||
_composeControls->sendVoiceRequests(
|
_composeControls->sendVoiceRequests(
|
||||||
) | rpl::start_with_next([=](const ComposeControls::VoiceToSend &data) {
|
) | rpl::start_with_next([=](const ComposeControls::VoiceToSend &data) {
|
||||||
sendVoice(data);
|
sendVoice(data);
|
||||||
|
Reference in New Issue
Block a user