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
@@ -490,7 +490,7 @@ void AddSpecialBoxController::loadMoreRows() {
setDescriptionText(tr::lng_blocked_list_not_found(tr::now));
}
delegate()->peerListRefreshRows();
}).fail([this](const MTP::Error &error) {
}).fail([this] {
_loadRequestId = 0;
}).send();
}
@@ -530,7 +530,7 @@ bool AddSpecialBoxController::checkInfoLoaded(
Api::ChatParticipant(data.vparticipant(), channel));
});
callback();
}).fail([=](const MTP::Error &error) {
}).fail([=] {
_additional.setExternal(participant);
callback();
}).send();