1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-02 13:37:47 +01:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Mahdi
9003c4fe50
Merge 83c36563f4 into 314db4ee1f 2024-11-19 10:42:38 +00:00

View File

@ -393,9 +393,6 @@ trait Files
}
await($promises, $cancellation);
await($resPromises, $cancellation);
if ($totalSize === 0) {
throw new AssertionError('You uploaded an empty file!');
}
$time = microtime(true) - $start;
$speed = (int) ($totalSize * 8 / $time) / 1000000;
if (!$size) {