2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Don't clear history stack on sendBotCommand.

This commit is contained in:
John Preston
2022-07-05 09:11:22 +04:00
parent d00755100a
commit 15d6988511

View File

@@ -775,7 +775,7 @@ void MainWidget::sendBotCommand(Bot::SendCommandRequest request) {
if (type == Window::SectionActionResult::Fallback) {
ui_showPeerHistory(
request.peer->id,
SectionShow::Way::ClearStack,
SectionShow::Way::Forward,
ShowAtTheEndMsgId);
_history->sendBotCommand(request);
}