1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-11-22 08:46:15 +00:00

Removed duplicate headers printed while downloading media.

This commit is contained in:
Fabian Schlenz 2018-04-13 06:18:20 +02:00
parent 28b402d3ab
commit 4c6c049502

View File

@ -242,7 +242,6 @@ class DownloadManager(val client: TelegramClient, val prog: DownloadProgressInte
if (messages.size == 0) break if (messages.size == 0) break
offset += limit offset += limit
logger.debug("Database returned {} messages with media", messages.size) logger.debug("Database returned {} messages with media", messages.size)
prog.onMediaDownloadStart(messages.size)
for (msg in messages) { for (msg in messages) {
if (msg == null) continue if (msg == null) continue
val m = FileManagerFactory.getFileManager(msg, user_manager, file_base, settings=settings) val m = FileManagerFactory.getFileManager(msg, user_manager, file_base, settings=settings)