Fix separate windows with audio player.

Fixes https://bugs.telegram.org/c/18154
This commit is contained in:
John Preston 2022-06-22 16:42:46 +04:00
parent d81c40f4c8
commit db15a58dde

View file

@ -280,6 +280,7 @@ void MainWindow::setupMain(MsgId singlePeerShowAtMsgId) {
clearWidgets();
_main = std::move(created);
if (const auto peer = singlePeer()) {
updateControlsGeometry();
_main->controller()->showPeerHistory(
peer,
Window::SectionShow::Way::ClearStack,