From: David ‘Bombe’ Roden Date: Wed, 10 Nov 2010 08:25:32 +0000 (+0100) Subject: Download a local Sone from Freenet, too. X-Git-Tag: 0.2-RC4~5 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b7251a2be8316370a2a4c175376e78ebcf82f211;p=Sone.git Download a local Sone from Freenet, too. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 83f7e6c..abebdd7 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -451,6 +451,15 @@ public class Core implements IdentityListener { soneInserter.start(); setSoneStatus(sone, SoneStatus.idle); loadSone(sone); + new Thread(new Runnable() { + + @Override + @SuppressWarnings("synthetic-access") + public void run() { + soneDownloader.fetchSone(sone); + } + + }, "Sone Downloader").start(); return sone; } }