From: David ‘Bombe’ Roden Date: Wed, 19 Jan 2011 14:39:36 +0000 (+0100) Subject: Store Sone in correct set when marking as known. X-Git-Tag: 0.4.2^2~27^2~7 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=668a951d9cc2708f4355a7a06a8b81569099e05a;p=Sone.git Store Sone in correct set when marking as known. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 22ab47b..c8d500e 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -1152,7 +1152,7 @@ public class Core implements IdentityListener, UpdateListener { public void markSoneKnown(Sone sone) { synchronized (newSones) { if (newSones.remove(sone.getId())) { - knownPosts.add(sone.getId()); + knownSones.add(sone.getId()); coreListenerManager.fireMarkSoneKnown(sone); saveConfiguration(); }