From 00e601296c69840f902a191d2a2fbd3bcb404147 Mon Sep 17 00:00:00 2001 From: Anton Afanasyev Date: Mon, 13 Jan 2020 17:43:37 +0300 Subject: [PATCH] Fix as suggested Co-Authored-By: 23rd <23rd@vivaldi.net> --- Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp b/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp index 1db2846f2c..d80fb87626 100644 --- a/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp +++ b/Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp @@ -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; }