From 4c6c049502086d886b29193d4d044e5ef3c106b7 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Fri, 13 Apr 2018 06:18:20 +0200 Subject: [PATCH] Removed duplicate headers printed while downloading media. --- .../kotlin/de/fabianonline/telegram_backup/DownloadManager.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/kotlin/de/fabianonline/telegram_backup/DownloadManager.kt b/src/main/kotlin/de/fabianonline/telegram_backup/DownloadManager.kt index b651bd4..f17c78e 100644 --- a/src/main/kotlin/de/fabianonline/telegram_backup/DownloadManager.kt +++ b/src/main/kotlin/de/fabianonline/telegram_backup/DownloadManager.kt @@ -242,7 +242,6 @@ class DownloadManager(val client: TelegramClient, val prog: DownloadProgressInte if (messages.size == 0) break offset += limit logger.debug("Database returned {} messages with media", messages.size) - prog.onMediaDownloadStart(messages.size) for (msg in messages) { if (msg == null) continue val m = FileManagerFactory.getFileManager(msg, user_manager, file_base, settings=settings)