mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix build with disabled autoupdate.
This commit is contained in:
parent
8edf4c8711
commit
53b3b24867
1 changed files with 2 additions and 0 deletions
|
@ -466,7 +466,9 @@ void Messenger::startMtp() {
|
||||||
_langCloudManager = std::make_unique<Lang::CloudManager>(
|
_langCloudManager = std::make_unique<Lang::CloudManager>(
|
||||||
langpack(),
|
langpack(),
|
||||||
mtp());
|
mtp());
|
||||||
|
#ifndef TDESKTOP_DISABLE_AUTOUPDATE
|
||||||
Core::UpdateChecker().setMtproto(mtp());
|
Core::UpdateChecker().setMtproto(mtp());
|
||||||
|
#endif // TDESKTOP_DISABLE_AUTOUPDATE
|
||||||
}
|
}
|
||||||
|
|
||||||
void Messenger::destroyMtpKeys(MTP::AuthKeysList &&keys) {
|
void Messenger::destroyMtpKeys(MTP::AuthKeysList &&keys) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue