mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Use app config value for QR login.
This commit is contained in:
@@ -55,7 +55,6 @@ class Changelogs;
|
||||
namespace Main {
|
||||
|
||||
class Account;
|
||||
class AppConfig;
|
||||
|
||||
class Session final
|
||||
: public base::has_weak_ptr
|
||||
@@ -93,9 +92,6 @@ public:
|
||||
[[nodiscard]] Stickers::EmojiPack &emojiStickersPack() {
|
||||
return *_emojiStickersPack;
|
||||
}
|
||||
[[nodiscard]] AppConfig &appConfig() {
|
||||
return *_appConfig;
|
||||
}
|
||||
|
||||
[[nodiscard]] base::Observable<void> &downloaderTaskFinished();
|
||||
|
||||
@@ -148,7 +144,6 @@ private:
|
||||
base::Timer _autoLockTimer;
|
||||
|
||||
const std::unique_ptr<ApiWrap> _api;
|
||||
const std::unique_ptr<AppConfig> _appConfig;
|
||||
const std::unique_ptr<Calls::Instance> _calls;
|
||||
const std::unique_ptr<Storage::Downloader> _downloader;
|
||||
const std::unique_ptr<Storage::Uploader> _uploader;
|
||||
|
Reference in New Issue
Block a user