mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Rename Window::Controller to Window::SessionController.
This commit is contained in:
@@ -20,7 +20,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "data/data_session.h"
|
||||
#include "info/info_memento.h"
|
||||
#include "info/info_controller.h"
|
||||
#include "window/window_controller.h"
|
||||
#include "window/window_session_controller.h"
|
||||
#include "mainwindow.h"
|
||||
#include "core/crash_reports.h"
|
||||
|
||||
@@ -47,7 +47,7 @@ void SharedMediaShowOverview(
|
||||
Storage::SharedMediaType type,
|
||||
not_null<History*> history) {
|
||||
if (SharedMediaOverviewType(type)) {
|
||||
App::wnd()->controller()->showSection(Info::Memento(
|
||||
App::wnd()->sessionController()->showSection(Info::Memento(
|
||||
history->peer->id,
|
||||
Info::Section(type)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user