mirror of https://github.com/procxx/kepka.git
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