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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user