mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +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