mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Move MTP::Instance to Main::Account.
This commit is contained in:
@@ -333,6 +333,7 @@ public:
|
||||
void moveSettingsFrom(AuthSessionSettings &&other);
|
||||
void saveSettingsDelayed(crl::time delay = kDefaultSaveDelay);
|
||||
|
||||
not_null<MTP::Instance*> mtp();
|
||||
ApiWrap &api() {
|
||||
return *_api;
|
||||
}
|
||||
|
Reference in New Issue
Block a user