2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fix as suggested

Co-Authored-By: 23rd <23rd@vivaldi.net>
This commit is contained in:
Anton Afanasyev
2020-01-13 17:43:37 +03:00
committed by John Preston
parent 3bc58fb690
commit 00e601296c

View File

@@ -2957,7 +2957,7 @@ void InnerWidget::setupShortcuts() {
const auto folder = session().data().folderLoaded(
Data::Folder::kId);
if (folder && !folder->chatsList()->empty()) {
App::wnd()->sessionController()->openFolder(folder);
_controller->openFolder(folder);
Ui::hideSettingsAndLayer();
return true;
}