From 4b92d63d2e3311294f219bc384327a111104e529 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Fri, 25 Nov 2016 21:24:43 +0100 Subject: [PATCH] Revert "Testing putting multiple GetMessages requests into one RpcQuery. References #35." This reverts commit 0249374384bf08c60815ba20e243ce7784ffaa1f. Closes #35. --- .../telegram_backup/DownloadManager.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/src/main/java/de/fabianonline/telegram_backup/DownloadManager.java b/src/main/java/de/fabianonline/telegram_backup/DownloadManager.java index f33c70f..53866c5 100644 --- a/src/main/java/de/fabianonline/telegram_backup/DownloadManager.java +++ b/src/main/java/de/fabianonline/telegram_backup/DownloadManager.java @@ -33,8 +33,6 @@ import com.github.badoualy.telegram.tl.api.*; import com.github.badoualy.telegram.tl.api.upload.TLFile; import com.github.badoualy.telegram.tl.exception.RpcErrorException; import com.github.badoualy.telegram.tl.api.request.TLRequestUploadGetFile; -import com.github.badoualy.telegram.tl.core.TLMethod; -import com.github.badoualy.telegram.tl.api.request.*; import org.slf4j.LoggerFactory; import org.slf4j.Logger; @@ -171,26 +169,6 @@ public class DownloadManager { prog.onMessageDownloadStart(ids.size()); boolean has_seen_flood_wait_message = false; - /// Testing - List methods = new LinkedList<>(); - int a = 0; - while(ids.size()>0 && a<5) { - a++; - TLIntVector vector = new TLIntVector(); - for (int i=0; i responses = client.executeRpcQueries(methods); - for(TLObject obj : responses) { - System.out.println(obj.getClass().getName()); - } - System.exit(0); - /// Testing ends - logger.debug("Entering download loop"); while (ids.size()>0) { logger.trace("Loop");