Don't open group info on migration update.

This commit is contained in:
John Preston 2022-08-05 14:52:19 +03:00
parent 7a3452a18a
commit 84b3260f38

View file

@ -184,13 +184,17 @@ void Controller::setupMigrationViewer() {
}) | rpl::start_with_next([=] {
const auto window = parentController();
const auto section = _section;
auto params = Window::SectionShow(
Window::SectionShow::Way::Backward,
anim::type::instant,
anim::activation::background);
if (wrap() == Wrap::Side) {
params.thirdColumn = true;
}
InvokeQueued(_widget, [=] {
window->showSection(
std::make_shared<Memento>(peer, section),
Window::SectionShow(
Window::SectionShow::Way::Backward,
anim::type::instant,
anim::activation::background));
params);
});
}, lifetime());
}