mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 06:07:45 +00:00
Fix tg://user?id links for 64-bit user ids (#296)
This commit is contained in:
parent
1ac48ddfa9
commit
c94e7b4cbc
@ -130,7 +130,7 @@ MTPVector<MTPMessageEntity> EntitiesToMTP(
|
||||
return MTP_inputUserEmpty();
|
||||
}
|
||||
bool success;
|
||||
UserId uid = qstr_uid.toInt(&success);
|
||||
UserId uid = qstr_uid.toLongLong(&success);
|
||||
if (success && session) {
|
||||
if (uid == session->userId()) {
|
||||
return MTP_inputUserSelf();
|
||||
|
Loading…
x
Reference in New Issue
Block a user