mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-05 03:14:28 +00:00
MTP::nonce -> rand_value, fixed first_name and last_name reading from minimal users
This commit is contained in:
@@ -245,7 +245,7 @@ ClipReader::ClipReader(const FileLocation &location, const QByteArray &data, Cal
|
||||
_clipManagers.push_back(new ClipReadManager(_clipThreads.back()));
|
||||
_clipThreads.back()->start();
|
||||
} else {
|
||||
_threadIndex = int32(MTP::nonce<uint32>() % _clipThreads.size());
|
||||
_threadIndex = int32(rand_value<uint32>() % _clipThreads.size());
|
||||
int32 loadLevel = 0x7FFFFFFF;
|
||||
for (int32 i = 0, l = _clipThreads.size(); i < l; ++i) {
|
||||
int32 level = _clipManagers.at(i)->loadLevel();
|
||||
|
||||
Reference in New Issue
Block a user