2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-10-17 14:36:45 +00:00

Updated TDesktop sources to 2.7.1+c08a148

This commit is contained in:
RadRussianRus
2021-03-28 13:44:06 +03:00
457 changed files with 12453 additions and 10405 deletions

View File

@@ -120,7 +120,7 @@ void CloudThemes::reloadCurrent() {
MTP_long(fields.documentId)
)).done([=](const MTPTheme &result) {
applyUpdate(result);
}).fail([=](const RPCError &error) {
}).fail([=](const MTP::Error &error) {
_reloadCurrentTimer.callOnce(kReloadTimeout);
}).send();
}
@@ -149,7 +149,7 @@ void CloudThemes::resolve(
MTP_long(0)
)).done([=](const MTPTheme &result) {
showPreview(result);
}).fail([=](const RPCError &error) {
}).fail([=](const MTP::Error &error) {
if (error.type() == qstr("THEME_FORMAT_INVALID")) {
Ui::show(Box<InformBox>(
tr::ktg_theme_no_desktop(tr::now)));
@@ -261,7 +261,7 @@ void CloudThemes::refresh() {
_updates.fire({});
}, [](const MTPDaccount_themesNotModified &) {
});
}).fail([=](const RPCError &error) {
}).fail([=](const MTP::Error &error) {
_refreshRquestId = 0;
}).send();
}