mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Rename Window::Controller to Window::SessionController.
This commit is contained in:
@@ -40,7 +40,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "boxes/sticker_set_box.h"
|
||||
#include "window/notifications_manager.h"
|
||||
#include "window/window_lock_widgets.h"
|
||||
#include "window/window_controller.h"
|
||||
#include "window/window_session_controller.h"
|
||||
#include "window/themes/window_theme.h"
|
||||
#include "inline_bots/inline_bot_result.h"
|
||||
#include "chat_helpers/message_field.h"
|
||||
@@ -442,7 +442,7 @@ void ApiWrap::importChatInvite(const QString &hash) {
|
||||
return PeerId(0);
|
||||
});
|
||||
if (const auto peer = _session->data().peerLoaded(peerId)) {
|
||||
App::wnd()->controller()->showPeerHistory(
|
||||
App::wnd()->sessionController()->showPeerHistory(
|
||||
peer,
|
||||
Window::SectionShow::Way::Forward);
|
||||
}
|
||||
@@ -3903,7 +3903,7 @@ void ApiWrap::jumpToHistoryDate(not_null<PeerData*> peer, const QDate &date) {
|
||||
//void ApiWrap::jumpToFeedDate(not_null<Data::Feed*> feed, const QDate &date) {
|
||||
// requestMessageAfterDate(feed, date, [=](Data::MessagePosition result) {
|
||||
// Ui::hideLayer();
|
||||
// App::wnd()->controller()->showSection(
|
||||
// App::wnd()->sessionController()->showSection(
|
||||
// HistoryFeed::Memento(feed, result));
|
||||
// });
|
||||
//}
|
||||
|
Reference in New Issue
Block a user