From: David ‘Bombe’ Roden Date: Fri, 28 Jan 2011 14:30:51 +0000 (+0100) Subject: Reregister the USK subscription after a successful download. X-Git-Tag: 0.4.4^2~12 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=2df7f3af09a828d82b9c50a1aa08aa0ecf38c7f0;p=Sone.git Reregister the USK subscription after a successful download. --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java index 177b462..933191f 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java @@ -148,6 +148,7 @@ public class SoneDownloader extends AbstractService { logger.log(Level.FINEST, "Got %d bytes back.", fetchResults.getRight().size()); Sone parsedSone = parseSone(sone, fetchResults.getRight(), fetchResults.getLeft()); if (parsedSone != null) { + addSone(parsedSone); core.updateSone(parsedSone); } } finally {