mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-15 19:55:18 +00:00
Fix build with disabled autoupdate.
This commit is contained in:
parent
8edf4c8711
commit
53b3b24867
@ -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…
Reference in New Issue
Block a user