2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-10-09 13:56:19 +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

@@ -166,7 +166,7 @@ void Step::finish(const MTPUser &user, QImage &&photo) {
api().request(MTPmessages_GetDialogFilters(
)).done([=](const MTPVector<MTPDialogFilter> &result) {
createSession(user, photo, result.v);
}).fail([=](const RPCError &error) {
}).fail([=](const MTP::Error &error) {
createSession(user, photo, QVector<MTPDialogFilter>());
}).send();
}