Download new friend Sones when starting up.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Oct 2010 10:00:50 +0000 (12:00 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Oct 2010 10:00:50 +0000 (12:00 +0200)
src/main/java/net/pterodactylus/sone/core/Core.java

index 6225087..00594c9 100644 (file)
@@ -493,7 +493,7 @@ public class Core extends AbstractService {
                                        String friendKey = configuration.getStringValue(friendPrefix + "/Key").getValue(null);
                                        String friendName = configuration.getStringValue(friendPrefix + "/Name").getValue(null);
                                        friendSone.setRequestUri(new FreenetURI(friendKey)).setName(friendName);
-                                       soneDownloader.addSone(friendSone);
+                                       loadSone(friendKey);
                                        sone.addFriend(friendSone);
                                }