Update to 6.2.0 (1984)

https://github.com/DrKLO/Telegram/pull/1561
This commit is contained in:
DrKLO 2020-06-04 19:47:15 +03:00
parent f120800a7f
commit dceccae0b7
487 changed files with 23032 additions and 9363 deletions

View file

@ -96,7 +96,7 @@ public class FileStreamLoadOperation extends BaseDataSource implements FileLoadO
readLength = (int) bytesRemaining;
}
while (availableLength == 0 && opened) {
availableLength = loadOperation.getDownloadedLengthFromOffset(currentOffset, readLength);
availableLength = loadOperation.getDownloadedLengthFromOffset(currentOffset, readLength)[0];
if (availableLength == 0) {
FileLoader.getInstance(currentAccount).loadStreamFile(this, document, parentObject, currentOffset, false);
countDownLatch = new CountDownLatch(1);