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

@@ -15,7 +15,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "mtproto/sender.h"
#include "data/data_pts_waiter.h"
class RPCError;
struct HistoryMessageMarkupButton;
class MainWindow;
class ConfirmBox;
@@ -25,6 +24,10 @@ struct FileLoadResult;
class History;
class Image;
namespace MTP {
class Error;
} // namespace MTP
namespace Api {
struct SendAction;
} // namespace Api
@@ -321,7 +324,7 @@ private:
QVector<MTPint> ids,
const MTPmessages_MessageViews &result,
mtpRequestId requestId);
void viewsIncrementFail(const RPCError &error, mtpRequestId requestId);
void viewsIncrementFail(const MTP::Error &error, mtpRequestId requestId);
void refreshResizeAreas();
template <typename MoveCallback, typename FinishCallback>