2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 07:35:12 +00:00

Suggest inviting by link if privacy disallows adding.

This commit is contained in:
John Preston
2023-03-10 18:43:20 +04:00
parent 7682ccf6a7
commit f3e15c7fcd
11 changed files with 329 additions and 21 deletions

View File

@@ -360,7 +360,9 @@ void MainWindow::ensureLayerCreated() {
return;
}
_layer = base::make_unique_q<Ui::LayerStackWidget>(
bodyWidget());
bodyWidget(),
crl::guard(this, [=] {
return std::make_shared<Window::Show>(&controller()); }));
_layer->hideFinishEvents(
) | rpl::filter([=] {