mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
MTP::nonce -> rand_value, fixed first_name and last_name reading from minimal users
This commit is contained in:
@@ -113,7 +113,7 @@ namespace {
|
||||
path.reserve(base.size() + 0x11);
|
||||
path += base;
|
||||
do {
|
||||
result = MTP::nonce<FileKey>();
|
||||
result = rand_value<FileKey>();
|
||||
path.resize(base.size());
|
||||
path += toFilePart(result);
|
||||
} while (!result || keyAlreadyUsed(path, options));
|
||||
|
Reference in New Issue
Block a user