mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Remove check used only for 32 bit ids.
This commit is contained in:
parent
28be89f7c3
commit
faa5619f1e
1 changed files with 0 additions and 5 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Reference in a new issue