mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 08:05:12 +00:00
Restore default lib_base
This commit is contained in:
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -24,7 +24,7 @@
|
|||||||
url = https://github.com/desktop-app/lib_rpl.git
|
url = https://github.com/desktop-app/lib_rpl.git
|
||||||
[submodule "Telegram/lib_base"]
|
[submodule "Telegram/lib_base"]
|
||||||
path = Telegram/lib_base
|
path = Telegram/lib_base
|
||||||
url = https://github.com/kotatogram/lib_base.git
|
url = https://github.com/desktop-app/lib_base.git
|
||||||
[submodule "Telegram/codegen"]
|
[submodule "Telegram/codegen"]
|
||||||
path = Telegram/codegen
|
path = Telegram/codegen
|
||||||
url = https://github.com/desktop-app/codegen.git
|
url = https://github.com/desktop-app/codegen.git
|
||||||
|
@@ -41,7 +41,7 @@ I'm trying to use my mobile phone number: ") + phone + qsl("\n\
|
|||||||
But Telegram says it's banned. Please help.\n\
|
But Telegram says it's banned. Please help.\n\
|
||||||
\n\
|
\n\
|
||||||
App version: ") + version + qsl("\n\
|
App version: ") + version + qsl("\n\
|
||||||
OS version: ") + Platform::SystemVersionPretty() + qsl("\n\
|
OS version: ") + QSysInfo::prettyProductName() + qsl("\n\
|
||||||
Locale: ") + Platform::SystemLanguage();
|
Locale: ") + Platform::SystemLanguage();
|
||||||
|
|
||||||
const auto url = "mailto:?to="
|
const auto url = "mailto:?to="
|
||||||
|
@@ -426,8 +426,8 @@ void Account::startMtp(std::unique_ptr<MTP::Config> config) {
|
|||||||
|
|
||||||
auto fields = base::take(_mtpFields);
|
auto fields = base::take(_mtpFields);
|
||||||
fields.config = std::move(config);
|
fields.config = std::move(config);
|
||||||
fields.deviceModel = Platform::DeviceModelPretty();
|
fields.deviceModel = QSysInfo::machineHostName();
|
||||||
fields.systemVersion = Platform::SystemVersionPretty();
|
fields.systemVersion = QSysInfo::prettyProductName();
|
||||||
_mtp = std::make_unique<MTP::Instance>(
|
_mtp = std::make_unique<MTP::Instance>(
|
||||||
MTP::Instance::Mode::Normal,
|
MTP::Instance::Mode::Normal,
|
||||||
std::move(fields));
|
std::move(fields));
|
||||||
@@ -572,8 +572,8 @@ void Account::destroyMtpKeys(MTP::AuthKeysList &&keys) {
|
|||||||
destroyFields.mainDcId = MTP::Instance::Fields::kNoneMainDc;
|
destroyFields.mainDcId = MTP::Instance::Fields::kNoneMainDc;
|
||||||
destroyFields.config = std::make_unique<MTP::Config>(_mtp->config());
|
destroyFields.config = std::make_unique<MTP::Config>(_mtp->config());
|
||||||
destroyFields.keys = std::move(keys);
|
destroyFields.keys = std::move(keys);
|
||||||
destroyFields.deviceModel = Platform::DeviceModelPretty();
|
destroyFields.deviceModel = QSysInfo::machineHostName();
|
||||||
destroyFields.systemVersion = Platform::SystemVersionPretty();
|
destroyFields.systemVersion = QSysInfo::prettyProductName();
|
||||||
_mtpForKeysDestroy = std::make_unique<MTP::Instance>(
|
_mtpForKeysDestroy = std::make_unique<MTP::Instance>(
|
||||||
MTP::Instance::Mode::KeysDestroyer,
|
MTP::Instance::Mode::KeysDestroyer,
|
||||||
std::move(destroyFields));
|
std::move(destroyFields));
|
||||||
|
Submodule Telegram/lib_base updated: 085d511199...e5a3b470d6
Reference in New Issue
Block a user