mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
@@ -48,9 +48,11 @@ void fillCodes() {
|
||||
Messenger::Instance().onSwitchTestMode();
|
||||
}));
|
||||
});
|
||||
#ifndef TDESKTOP_DISABLE_AUTOUPDATE
|
||||
Codes.insert(qsl("testupdate"), [] {
|
||||
Core::UpdateChecker().test();
|
||||
});
|
||||
#endif // TDESKTOP_DISABLE_AUTOUPDATE
|
||||
Codes.insert(qsl("loadlang"), [] {
|
||||
Lang::CurrentCloudManager().switchToLanguage(qsl("custom"));
|
||||
});
|
||||
|
Reference in New Issue
Block a user