mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 17:57:51 +00:00
Removed unused MTP::Error from callbacks on fail.
This commit is contained in:
@@ -240,9 +240,7 @@ void SessionNavigation::resolveChannelById(
|
||||
fail();
|
||||
}
|
||||
});
|
||||
}).fail([=](const MTP::Error &error) {
|
||||
fail();
|
||||
}).send();
|
||||
}).fail(fail).send();
|
||||
}
|
||||
|
||||
void SessionNavigation::showPeerByLinkResolved(
|
||||
@@ -301,9 +299,7 @@ void SessionNavigation::showPeerByLinkResolved(
|
||||
} else {
|
||||
bad();
|
||||
}
|
||||
}).fail([=](const MTP::Error &error) {
|
||||
bad();
|
||||
}).send();
|
||||
}).fail(bad).send();
|
||||
}).send();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user