Remove check used only for 32 bit ids.

This commit is contained in:
John Preston 2021-09-10 10:23:00 +03:00
parent 28be89f7c3
commit faa5619f1e

View file

@ -154,11 +154,6 @@ void Account::createSession(
? MTPDuser::Flag()
: MTPDuser::Flag::f_phone);
using ServerUserIdType = decltype(std::declval<MTPDuser>().vid().v);
if (ServerUserIdType(id.bare) <= 0) { // #TODO ids remove
return;
}
createSession(
MTP_user(
MTP_flags(flags),