2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Rename RPCError to MTP::Error.

This commit is contained in:
John Preston
2021-03-12 16:48:00 +04:00
parent 5794679277
commit 68b0a85369
130 changed files with 609 additions and 594 deletions

View File

@@ -103,7 +103,7 @@ void GroupCall::requestParticipants() {
_participantsSliceAdded.fire({});
_participantsRequestId = 0;
changePeerEmptyCallFlag();
}).fail([=](const RPCError &error) {
}).fail([=](const MTP::Error &error) {
_fullCount = _participants.size();
_allReceived = true;
_participantsRequestId = 0;
@@ -236,7 +236,7 @@ void GroupCall::reload() {
_participantsSliceAdded.fire({});
});
_reloadRequestId = 0;
}).fail([=](const RPCError &error) {
}).fail([=](const MTP::Error &error) {
_reloadRequestId = 0;
}).send();
}
@@ -563,7 +563,7 @@ void GroupCall::requestUnknownParticipants() {
_unknownSpokenPeerIds.remove(id);
}
requestUnknownParticipants();
}).fail([=](const RPCError &error) {
}).fail([=](const MTP::Error &error) {
_unknownParticipantPeersRequestId = 0;
for (const auto [ssrc, when] : ssrcs) {
_unknownSpokenSsrcs.remove(ssrc);