From 6b5fd80059ca71749415415158bdc3920935bc62 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 11 Sep 2024 14:21:05 +0400 Subject: [PATCH] wip build --- Telegram/SourceFiles/window/window_session_controller.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Telegram/SourceFiles/window/window_session_controller.cpp b/Telegram/SourceFiles/window/window_session_controller.cpp index 395e5009a42fe8..7069fed93ccfcc 100644 --- a/Telegram/SourceFiles/window/window_session_controller.cpp +++ b/Telegram/SourceFiles/window/window_session_controller.cpp @@ -1606,6 +1606,7 @@ SessionController::SessionController( })); }, _lifetime); +#if 0 // todo session->downloader().nonPremiumDelays( ) | rpl::start_with_next([=](DocumentId id) { checkNonPremiumLimitToastDownload(id); @@ -1615,6 +1616,7 @@ SessionController::SessionController( ) | rpl::start_with_next([=](FullMsgId id) { checkNonPremiumLimitToastUpload(id); }, _lifetime); +#endif session->addWindow(this); @@ -1988,7 +1990,9 @@ void SessionController::setupPremiumToast() { }) | rpl::distinct_until_changed() | rpl::skip( 1 ) | rpl::filter([=](bool premium) { +#if 0 // mtp session().mtp().requestConfig(); +#endif return premium; }) | rpl::start_with_next([=] { MainWindowShow(this).showToast({