1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2025-09-08 17:46:50 +00:00

Merge pull request from Hypfer/master

Fix .
This commit is contained in:
2017-03-23 13:10:34 +01:00
committed by GitHub

@@ -336,6 +336,10 @@ public class DownloadManager {
if (e.getTag().startsWith("420: FLOOD_WAIT_")) { if (e.getTag().startsWith("420: FLOOD_WAIT_")) {
try_again = true; try_again = true;
Utils.obeyFloodWaitException(e); Utils.obeyFloodWaitException(e);
} else if (e.getCode()==400) {
//Somehow this file is broken. No idea why. Let's skip it for now
try_again = true;
return false;
} else { } else {
throw e; throw e;
} }