mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 15:45:12 +00:00
Don't clear history stack on sendBotCommand.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user