mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Allow wide chats in empty window.
This commit is contained in:
@@ -2667,8 +2667,9 @@ void Widget::updateForceDisplayWide() {
|
||||
void Widget::showForum(
|
||||
not_null<Data::Forum*> forum,
|
||||
const Window::SectionShow ¶ms) {
|
||||
const auto nochat = !controller()->mainSectionShown();
|
||||
if (!params.childColumn
|
||||
|| !Core::App().settings().dialogsWidthRatio()
|
||||
|| !Core::App().settings().dialogsWidthRatio(nochat)
|
||||
|| (_layout != Layout::Main)
|
||||
|| OptionForumHideChatsList.value()) {
|
||||
changeOpenedForum(forum, params.animated);
|
||||
|
Reference in New Issue
Block a user