mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 15:47:11 +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>(
|
||||
langpack(),
|
||||
mtp());
|
||||
#ifndef TDESKTOP_DISABLE_AUTOUPDATE
|
||||
Core::UpdateChecker().setMtproto(mtp());
|
||||
#endif // TDESKTOP_DISABLE_AUTOUPDATE
|
||||
}
|
||||
|
||||
void Messenger::destroyMtpKeys(MTP::AuthKeysList &&keys) {
|
||||
|
|
Loading…
Add table
Reference in a new issue