Don’t run background fetchers for Sones that are last updated more than 7 days ago.
[Sone.git] / src / main / java / net / pterodactylus / sone / core / SoneDownloader.java
index 2eb4c71..177b462 100644 (file)
@@ -94,6 +94,7 @@ public class SoneDownloader extends AbstractService {
         */
        public void addSone(Sone sone) {
                if (sones.add(sone)) {
+                       freenetInterface.unregisterUsk(sone);
                        freenetInterface.registerUsk(sone, this);
                }
        }