From 8c7279e5ee80ba0c9af979e0f8b0588c9ed1ae1e Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 17 Nov 2010 20:59:04 +0100 Subject: [PATCH] =?utf8?q?Reply=20a=20new=20post=E2=80=99s=20Sone=20with?= =?utf8?q?=20the=20already=20existing=20copy.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/sone/core/Core.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index eeda121..0f95d56 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -807,6 +807,7 @@ public class Core implements IdentityListener { synchronized (newPosts) { for (Post post : sone.getPosts()) { if (!storedSone.getPosts().contains(post) && !knownPosts.contains(post.getId())) { + post.setSone(getSone(post.getSone().getId())); newPosts.add(post.getId()); coreListenerManager.fireNewPostFound(post); } -- 2.7.4