2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +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

@@ -135,7 +135,7 @@ void GroupCall::requestParticipants() {
_participantsReloaded.fire({});
}
});
}).fail([=](const MTP::Error &error) {
}).fail([=] {
_participantsRequestId = 0;
const auto reloaded = processSavedFullCall();
setServerParticipantsCount(_participants.size());
@@ -511,7 +511,7 @@ void GroupCall::reload() {
}
_reloadRequestId = 0;
processFullCall(result);
}).fail([=](const MTP::Error &error) {
}).fail([=] {
_reloadRequestId = 0;
}).send();
}
@@ -898,7 +898,7 @@ void GroupCall::requestUnknownParticipants() {
_participantsResolved.fire(&ssrcs);
}
requestUnknownParticipants();
}).fail([=](const MTP::Error &error) {
}).fail([=] {
_unknownParticipantPeersRequestId = 0;
for (const auto &[ssrc, when] : ssrcs) {
_unknownSpokenSsrcs.remove(ssrc);