From 7286468adcb956905cd30cf0f286fff31c14b46f Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 26 Jun 2024 12:15:44 +0400 Subject: [PATCH] f Migrated SetupChannelBox from MTP to TDLib. --- Telegram/SourceFiles/boxes/add_contact_box.cpp | 3 --- Telegram/SourceFiles/boxes/add_contact_box.h | 4 ---- 2 files changed, 7 deletions(-) diff --git a/Telegram/SourceFiles/boxes/add_contact_box.cpp b/Telegram/SourceFiles/boxes/add_contact_box.cpp index 330a505e9dac6f..f372e083de0ad8 100644 --- a/Telegram/SourceFiles/boxes/add_contact_box.cpp +++ b/Telegram/SourceFiles/boxes/add_contact_box.cpp @@ -553,10 +553,7 @@ GroupInfoBox::GroupInfoBox( const QString &title, Fn)> channelDone) : _navigation(navigation) -#if 0 // goodToRemove , _api(&_navigation->session().mtp()) -#endif -, _api(&_navigation->session().sender()) , _type(type) , _initialTitle(title) , _done(WrapPeerDoneFromChannelDone(std::move(channelDone))) { diff --git a/Telegram/SourceFiles/boxes/add_contact_box.h b/Telegram/SourceFiles/boxes/add_contact_box.h index ad332775bb9e9e..881cf1aa64b7d3 100644 --- a/Telegram/SourceFiles/boxes/add_contact_box.h +++ b/Telegram/SourceFiles/boxes/add_contact_box.h @@ -10,7 +10,6 @@ For license and copyright information please follow this link: #include "ui/layers/box_content.h" #include "base/timer.h" #include "mtproto/sender.h" -#include "tdb/tdb_sender.h" namespace Tdb { class TLcheckChatUsernameResult; @@ -148,10 +147,7 @@ class GroupInfoBox : public Ui::BoxContent { [[nodiscard]] TimeId ttlPeriod() const; const not_null _navigation; -#if 0 // goodToRemove MTP::Sender _api; -#endif - Tdb::Sender _api; Type _type = Type::Group; QString _initialTitle;