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:
@@ -1061,7 +1061,7 @@ void EditCaptionBox::save() {
|
||||
closeBox();
|
||||
});
|
||||
|
||||
const auto fail = crl::guard(this, [=](const RPCError &error) {
|
||||
const auto fail = crl::guard(this, [=](const MTP::Error &error) {
|
||||
_saveRequestId = 0;
|
||||
const auto &type = error.type();
|
||||
if (ranges::contains(Api::kDefaultEditMessagesErrors, type)) {
|
||||
|
Reference in New Issue
Block a user