From faa5619f1e89e0fb900ac0c780402994310b6700 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 10 Sep 2021 10:23:00 +0300 Subject: [PATCH] Remove check used only for 32 bit ids. --- Telegram/SourceFiles/main/main_account.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Telegram/SourceFiles/main/main_account.cpp b/Telegram/SourceFiles/main/main_account.cpp index 5fee2c43a..39dc25248 100644 --- a/Telegram/SourceFiles/main/main_account.cpp +++ b/Telegram/SourceFiles/main/main_account.cpp @@ -154,11 +154,6 @@ void Account::createSession( ? MTPDuser::Flag() : MTPDuser::Flag::f_phone); - using ServerUserIdType = decltype(std::declval().vid().v); - if (ServerUserIdType(id.bare) <= 0) { // #TODO ids remove - return; - } - createSession( MTP_user( MTP_flags(flags),