From 83e24449f58e0165eb19d7b1ea4ea6c2607afccb Mon Sep 17 00:00:00 2001 From: ZavaruKitsu Date: Fri, 11 Aug 2023 12:20:16 +0000 Subject: [PATCH] fix: kill MTP updates checker --- Telegram/SourceFiles/core/update_checker.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/core/update_checker.cpp b/Telegram/SourceFiles/core/update_checker.cpp index ede786e8c0..e87665bae4 100644 --- a/Telegram/SourceFiles/core/update_checker.cpp +++ b/Telegram/SourceFiles/core/update_checker.cpp @@ -1249,9 +1249,13 @@ void Updater::start(bool forceWait) { startImplementation( &_httpImplementation, std::make_unique(_testing)); - startImplementation( - &_mtpImplementation, - std::make_unique(_session, _testing)); + + // AyuGram: removed + if (false) { + startImplementation( + &_mtpImplementation, + std::make_unique(_session, _testing)); + } _checking.fire({}); } else {