mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Don't clear history stack on sendBotCommand.
This commit is contained in:
parent
d00755100a
commit
15d6988511
1 changed files with 1 additions and 1 deletions
|
@ -775,7 +775,7 @@ void MainWidget::sendBotCommand(Bot::SendCommandRequest request) {
|
||||||
if (type == Window::SectionActionResult::Fallback) {
|
if (type == Window::SectionActionResult::Fallback) {
|
||||||
ui_showPeerHistory(
|
ui_showPeerHistory(
|
||||||
request.peer->id,
|
request.peer->id,
|
||||||
SectionShow::Way::ClearStack,
|
SectionShow::Way::Forward,
|
||||||
ShowAtTheEndMsgId);
|
ShowAtTheEndMsgId);
|
||||||
_history->sendBotCommand(request);
|
_history->sendBotCommand(request);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue