From: David ‘Bombe’ Roden Date: Wed, 10 Nov 2010 13:06:49 +0000 (+0100) Subject: Remote Sones start as unknown. X-Git-Tag: 0.2~4 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ec75ca474a94a5d0fcfae5b6852c4f35864c04ef;p=Sone.git Remote Sones start as unknown. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 52b885e..5475dc6 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -499,6 +499,7 @@ public class Core implements IdentityListener { sone.setLatestEdition(Numbers.safeParseLong(identity.getProperty("Sone.LatestEdition"), (long) 0)); remoteSones.put(identity.getId(), sone); soneDownloader.addSone(sone); + setSoneStatus(sone, SoneStatus.unknown); new Thread(new Runnable() { @Override @@ -508,7 +509,6 @@ public class Core implements IdentityListener { } }, "Sone Downloader").start(); - setSoneStatus(sone, SoneStatus.idle); return sone; } }