2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Removed unused MTP::Error from callbacks on fail.

This commit is contained in:
23rd
2021-11-26 23:46:53 +03:00
committed by John Preston
parent 287a35d208
commit 3647241f71
62 changed files with 158 additions and 182 deletions

View File

@@ -263,7 +263,7 @@ Helper::Helper(not_null<Main::Session*> session)
result.match([&](const MTPDhelp_supportName &data) {
setSupportName(qs(data.vname()));
});
}).fail([=](const MTP::Error &error) {
}).fail([=] {
setSupportName(
qsl("[rand^")
+ QString::number(Core::Sandbox::Instance().installationTag())
@@ -529,7 +529,7 @@ void Helper::saveInfo(
)).done([=](const MTPhelp_UserInfo &result) {
applyInfo(user, result);
done(true);
}).fail([=](const MTP::Error &error) {
}).fail([=] {
done(false);
}).send();
}