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),