mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Remove check used only for 32 bit ids.
This commit is contained in:
@@ -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),
|
||||
|
Reference in New Issue
Block a user