mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Remove exceptions in TL parsing.
This commit is contained in:
@@ -780,8 +780,9 @@ void Application::authSessionCreate(const MTPUser &user) {
|
||||
const mtpPrime *from,
|
||||
const mtpPrime *end) {
|
||||
if (const auto main = App::main()) {
|
||||
main->updateReceived(from, end);
|
||||
return main->updateReceived(from, end);
|
||||
}
|
||||
return true;
|
||||
}));
|
||||
_mtproto->setGlobalFailHandler(::rpcFail([=](const RPCError &error) {
|
||||
if (activeAccount().sessionExists()) {
|
||||
|
Reference in New Issue
Block a user