2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Pass MTP::Instance to MTP::Sender.

This commit is contained in:
John Preston
2019-11-27 11:02:56 +03:00
parent a0152557ec
commit e943264823
65 changed files with 406 additions and 275 deletions

View File

@@ -16,8 +16,7 @@ namespace Settings {
class BlockedBoxController
: public PeerListController
, private base::Subscriber
, private MTP::Sender {
, private base::Subscriber {
public:
explicit BlockedBoxController(
not_null<Window::SessionController*> window);
@@ -39,6 +38,7 @@ private:
std::unique_ptr<PeerListRow> createRow(not_null<UserData*> user) const;
const not_null<Window::SessionController*> _window;
MTP::Sender _api;
int _offset = 0;
mtpRequestId _loadRequestId = 0;