2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Request common notify settings when needed.

If user / group has default notify settings we need common user
or common group notify settings to display the badge properly.
This commit is contained in:
John Preston
2018-06-06 22:56:35 +03:00
parent d6a00523a8
commit 866c5e9b7b
6 changed files with 24 additions and 11 deletions

View File

@@ -476,9 +476,9 @@ void Navigation::showPeerInfo(
void Controller::showSection(
SectionMemento &&memento,
const SectionShow &params) {
if (App::wnd()->showSectionInExistingLayer(
if (!params.thirdColumn && App::wnd()->showSectionInExistingLayer(
&memento,
params) && !params.thirdColumn) {
params)) {
return;
}
App::main()->showSection(std::move(memento), params);