2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 23:45:44 +00:00

Remove showing monoforums inside dialogs widget.

This commit is contained in:
John Preston
2025-05-30 17:40:09 +04:00
parent 0d43f16db2
commit 50b761fab2
11 changed files with 24 additions and 283 deletions

View File

@@ -1594,18 +1594,6 @@ void MainWidget::showForum(
}
}
void MainWidget::showMonoforum(
not_null<Data::SavedMessages*> monoforum,
const SectionShow &params) {
Expects(_dialogs != nullptr);
_dialogs->showMonoforum(monoforum, params);
if (params.activation != anim::activation::background) {
_controller->window().hideSettingsAndLayer();
}
}
PeerData *MainWidget::peer() const {
return _history->peer();
}